我有以下HTML彥博空,而使用文件和文本形式
<form action="upload.php" method="get" enctype="multipart/form-data">
Enter 10 digit mobile number <input id="imgphno" type="text" maxlength="10" />
<br/><br/>
<input id="file" type="file" name="file" />
<br/><br/>
<input type="submit" name="submit" value="Send" id="sndimg"/>
</form>
當我運行瀏覽器的地址欄中顯示
http://116.75.128.138/balasaheb/upload.php?file=thumb.jpg&submit=Send
我如何訪問upload.php的文本框中的內容?
DV的解釋?我是對的。上傳不適用於GET,**事實。** – 2014-09-27 15:54:22
您沒有正確地收到我的問題。我想獲得正在使用的文本框的值。 – Abhi 2014-09-27 15:55:26
@Ahi看到我的編輯。重新加載我的答案。 – 2014-09-27 15:57:07