[請益] 新增資料上傳伺服器後出錯

看板PHP作者 (Ann)時間19年前 (2006/08/15 10:20), 編輯推噓3(300)
留言3則, 3人參與, 最新討論串1/1
我用dw寫一個新增資料的網頁 php裡資料表都寫好~~ 在本機看是ok的~~可是上傳到伺服器就沒法辦執行了       他會出現 Warning: main(../Connections/test001.php) [function.main]: failed to open stream: No such file or directory in D:\c-sky\test\test.php on line 1 Fatal error: main() [function.require]: Failed opening required '../Connections/test001.php' (include_path='.;C:\php5\pear') in D:\c-sky\test\test.php on line 1 不知道哪出錯了~~(泣) <(_ _)> ------------------------------------ win2003+iis6+php5+mysql5=一堆問題壓 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.23.208.78

08/15 15:44, , 1F
上傳路徑錯誤 看一下你的程式碼 傳到哪邊去了
08/15 15:44, 1F

08/15 17:39, , 2F
可以了~~真的很感謝
08/15 17:39, 2F

08/16 16:24, , 3F
建議以後盡量使用"相對路徑"表示
08/16 16:24, 3F
文章代碼(AID): #14uIzmAh (PHP)
文章代碼(AID): #14uIzmAh (PHP)