<% If Request.QueryString("ok")<>"确定" then %>
<HTML><BODY>
<FORM method="GET" action="io1.asp">
<h4 align="center">欢迎访问，请输入您的用户名和密码</h4>
<P align="center">用户名：<INPUT type="text" name="Username" size="10"></P>
<P align="center">密&nbsp;&nbsp;码：<INPUT type="password" name="Userpass" size="10"></P>
<P align="center"><INPUT name="ok" type="submit" value="确定">
   <INPUT type="reset" value="取消">   
</FORM>
</BODY></HTML>
<%Else
   name=Request.QueryString("Username")
   pass=Request.QueryString("Userpass")
   If name<>"" then
      Response.Write "<P>欢迎访问!</P>"
      Response.Write "<P>您输入的用户名是：" & name & "</P>"
      Response.Write "<P>您输入的密码是：" & pass & "</P>"
   Else
      Response.Write "<P>对不起,请重新输入！"
      Response.Write "<a href='io1.asp'>上一页</a>"
   End If
End If
%>
