<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<%if request("submit")="提交" then
username=request("username")
password=request("password")
if username="123456" and password="123456" then
response.redirect "1.asp"
else
response.write("您输入的用户名或密码错误")
end if
else
%>
<p>用户名:
<input name="username" type="text" id="username">
</p>
<p>密码:
<input name="password" type="text" id="password">
</p>
<p>
<input type="submit" name="Submit" value="提交">
<input type="submit" name="Submit2" value="取消">
</p>
<%end if%>
</body>
</html>