且不論代碼,就是 form 提交後打不開正確的頁面地址, 具體如下
...
<FORM Name="frmLogon" Action="Logon.asp" Method="Post">
<INPUT Type="Text" Name="UserName" Value=""><BR>
<INPUT Type="Password" Name="UserPassword" Value="">
<BUTTON Type="Submit">確認</BUTTON>
</FORM>
.....
當按下 "確認" 按鈕時出現的頁面是:
-------------------------------------
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
Please try the following:
Open the www.webaddr.com home page, and then look for links to the information you want.
Click the Refresh button, or try again later.
Click Search to look for information on the Internet.
You can also see a list of related sites.
HTTP 500 - Internal server error
Internet Explorer
---------------------------------------------------------------
我上面的 FORM 有兩個參數要傳遞的,所以出錯
當刪除一個參數,即系 不要其中一個 INPUT 元素(UserName 或者 UserPassword) 時就可以正確打開對應的 Logon.asp
(不存在地址問題,正確.
不存在代碼問題,Logon.asp 只要存在即使爲空內容也應該可以打開, 況且當只一個參數被傳遞時已經正確了)
原來朋友仔感情再天真, 亦是我永遠也會愛惜的人, 明日愛他人, 也記住學會不要緊; 原來朋友比戀人更高分, 亦讓我開始懂得不記恨, 若大家都敏感, 我更要永遠記得拒絕再因小事怪人, 爲何沒有這條校訓...Twins-朋友仔
MCSD Training