Re: [請益] file_exists()參數放入網芳的網址

看板PHP作者 (Sunny Day ...)時間17年前 (2008/05/23 10:13), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《hwang (GO!!)》之銘言: : 想請問一下 : 在Linux上的php : 然後要去判斷另一台Linux上的檔案是否存在 : 兩台Linux都有用Samba : php的file_exists()函數,裡面的參數要如何放呀? : \\directory\... : //directory/... : file://directort/.... : 這些我都試過了 : 都不行>< : (目前不打算用mount,把資料夾mount到自己的資料夾下) : 想不到辦法啊>< PHP 並沒有支援像是 smb:// 這樣的路徑.. 基本上你只有 mount 一途. -- 我是上來領便當的... 逛 php 版, database 版只是順便而已... http://blog.darkhero.net 個人網誌 http://phorum.study-area.org/index.php/board,31.0.html -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.116.62.60
文章代碼(AID): #18DYXBxc (PHP)
文章代碼(AID): #18DYXBxc (PHP)