Re: [請益] 有關opendir限制問題?

看板PHP作者 (優質的藍色射手)時間17年前 (2009/01/15 17:18), 編輯推噓2(202)
留言4則, 3人參與, 最新討論串2/2 (看更多)
※ 引述《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
跳脫字元?應該不是這個問題也!不知道是opendir限制
01/17 08:56, 2F

01/17 22:00, , 3F
http沒有定義這個動作吧? 平常看到的也是server自己
01/17 22:00, 3F

01/17 22:00, , 4F
產生的HTML 而沒有固定格式
01/17 22:00, 4F
文章代碼(AID): #19RlzDxV (PHP)
討論串 (同標題文章)
文章代碼(AID): #19RlzDxV (PHP)