這個問題可能出在你寫的 VB 程式,不知你的程式是採用甚麼方法去 parse 瀏覽器傳回來的 HTTP response?
因為三個瀏覽器都有傳回 Content-Length: 13,而 chattext=Test 的確是十三個字元長,可見瀏覽器有做回應,只是不知道資料跑到哪裡去了...
另外有趣的是,IE 有送回的 response 有顯示 Google Analytics 的 cookie,而其他並沒有?
要判斷這是瀏覽器的問題,還是 VB 程式的問題,方法有二。
一、不要 parse 傳回來的 HTTP response,直接 dump 出來。
二、極端一點,用 Ethereal 把封包擷取起來,看看資料有沒有被包在裡面,沒有的話就是瀏覽器的問題。
這種 HTML 真是太恐怖了,看了眼睛都快掉出來了:
代碼:
<form method=POST action=http://xxxx enctype=text/plain>
<center>歡迎給我發個訊息<br>
<input type=text id=chattext name=chattext>
<input type=submit value=發訊>
</center>
</form>
改成這樣比較賞心悅目^^:
代碼:
<form method="post" action="http://xxxx" enctype="text/plain">
<center>歡迎給我發個訊息<br />
<input type="text" id="chattext" name="chattext">
<input type="submit" value="發訊">
</center>
</form>
說到 HTML,你指定的 enctype 是 text/plain,可是三個瀏覽器送回來的 response 都是用 application/x-www-form-urlencoded?
把 HTML 的 enctype 改成 application/x-www-form-urlencoded 看看。