我想在一個局域網上的服務器上獲取文件,以通過超鏈接由客戶端PC打開。現在我只需要這個工作在IE上。php超鏈接到uncpath IE
可以說文件名存儲在變量$ sPath中,以便file_exists($ sPath)返回true,並且服務器名稱是server_name。超鏈接的樣子是什麼?這裏是我已經使用的許多組合中的一些...
<a href="file:///intocloud$sPath">here</a>
<a href="file://intocloud$sPath">here</a>
<a href="file://///intocloud$sPath">here</a>
<a href="/////intocloud$sPath">here</a>
這些工作都沒有,我也試過其他一些東西。