嘗試提交此表單時,我總是收到404錯誤。在我的網站目錄中,我有一個名爲mobile
的文件夾,裏面有forms.php
和process.php
。提交表單時出現404錯誤
窗體位於此頁面
http://localhost/mobile/forms.php?ft=0&id=2
這裏是形式
<form action='/mobile/process.php?o=9&ft=0' method='POST'>
//details
</form>
當我嘗試提交我得到一個404錯誤,當它應該去http://localhost/mobile/process.php?o=9&ft=0
?我該如何解決?
如果它沒有去'HTTP://localhost/mobile/process.php O = 9英尺= 0',哪裏*它*去?服務器日誌說什麼?如果您手動訪問網址,您會得到什麼? – Quentin
我得到一個404錯誤是我手動去網址? – user892134
直接在瀏覽器URL字段中輸入「http://localhost/mobile/process.php?o = 9&ft = 0」時會發生什麼? – Sablefoste