Re: [請益] 有關opendir限制問題?
※ 引述《joedenkidd (優質的藍色射手)》之銘言:
: 各位版友好:
: 我想用opendir是不是只能開啟實體路徑,例如:opendir(d:\path)這樣子,
: 而不能開啟opendir(http://127.0.0.1/path)呢?請如果可以opendir(http://127.0.0.1/path)
: 請問要設定什麼地方?
: 備註: opendir(http://127.0.0.1/path)中的path是指虛擬目錄。
我有做測試 http://localhost/path,是可以連結path下的檔案,所以虛擬目錄應該有建成功
而這個http://localhost/path的真實路徑是d:/path,而我做opendir(d:/path)這個動作
是可以開啟path,但是opendir(path)或是opendir(http://localhost/path)卻是不行的,
我現在的問題是,不知道要如何去開起虛擬目錄(path)。
備註:我的OS是window。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.250.108.146
推
01/15 21:15, , 1F
01/15 21:15, 1F
※ 編輯: joedenkidd 來自: 218.160.64.46 (01/15 23:13)
→
01/17 08:56, , 2F
01/17 08:56, 2F
推
01/17 22:00, , 3F
01/17 22:00, 3F
→
01/17 22:00, , 4F
01/17 22:00, 4F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
0
18