📄 user_getpassword.asp
字号:
<!--#include file="Inc/Conn_User.asp"-->
<!--#include file="Inc/func.asp"-->
<!--#include file="Inc/md5.asp"-->
<%
dim Action,GpUserName,rsGetPassword,FoundErr,ErrMsg
dim Answer,Password,PwdConfirm
Action=trim(request("Action"))
GpUserName=trim(request("UserName"))
Answer=trim(request("Answer"))
Password=trim(request("Password"))
PwdConfirm=trim(request("PwdConfirm"))
%>
<html>
<head>
<title>忘记密码</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="STYLE.CSS" rel="stylesheet" type="text/css">
</head>
<body>
<%if Action="" then%>
<table align='center' width='300' border='0' cellpadding='4' cellspacing='0' class='border'>
<tr >
<td height='15' colspan='2' class='title'>忘记密码 >> 第一步:输入用户名</td>
</tr>
<tr>
<td height='100' colspan='2' align="center" class='tdbg'><form name="form1" method="post" action="">
<strong> 请输入你的用户名:</strong>
<input name="UserName" type="text" id="UserName" size="20" maxlength="20">
<br>
<br>
<input name="Action" type="hidden" id="Action" value="step2">
<input name="Next" type="submit" id="Next" style="cursor:hand;" value="下一步">
<input name="Cancel" type="button" id="Cancel" style="cursor:hand;" onclick="window.location.href='index.asp'" value=" 取消 ">
</form></td>
</tr>
</table>
<%
elseif Action="step2" then
if GpUserName="" or strLength(GpUserName)>14 or strLength(GpUserName)<4 then
founderr=true
errmsg=errmsg & "<br><li>请输入用户名(不能大于14小于4)</li>"
else
if Instr(GpUserName,"=")>0 or Instr(GpUserName,"%")>0 or Instr(GpUserName,chr(32))>0 or Instr(GpUserName,"?")>0 or Instr(GpUserName,"&")>0 or Instr(GpUserName,";")>0 or Instr(GpUserName,",")>0 or Instr(GpUserName,"'")>0 or Instr(GpUserName,",")>0 or Instr(GpUserName,chr(34))>0 or Instr(GpUserName,chr(9))>0 or Instr(GpUserName,"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -