<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<from ACTION="log.asp" METHOD="GET" NAME="login">
用户名:<input type="text" name=nm20">
<br>
密码:<input type=password name=pwd20">
<br>
<input type="submit"name=BT value='确认提交' size="20">
<input type="reset"name=BT value='重新输入'>
</body>
</html>
这是log.asp的程序:
<%
Dim UserNM
Dim PassWD
UNM = Request.QueryString("nm")
PWD = Request.QueryString("pwd")
If UNM="wxp" then
If PWD="hello" then
Response.write "登录成功!"
Else
Response.write "登录失败!"
End if
Else
Response.write "非法用户!"
End if
%>
为什么实现不了,请大虾门指教!!!
谢谢了先!!!!