📄 engetpassword.asp
字号:
<!--#include file="Inc/conn.asp"-->
<!--#include file="Inc/function.asp"-->
<!--#include file="Inc/md5.asp"-->
<%
dim Action,UserName,rsGetPassword,FoundErr,ErrMsg
dim Answer,Password,PwdConfirm
Action=trim(request("Action"))
UserName=trim(request("UserName"))
Answer=trim(request("Answer"))
Password=trim(request("Password"))
PwdConfirm=trim(request("PwdConfirm"))
%>
<html>
<head>
<title>Forget the password</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%if Action="" then%>
<table align='center' width='500' border='0' cellpadding='4' cellspacing='0' class='border'>
<tr >
<td height='15' colspan='2' class='title'>Forget the password>> First
step: input username</td>
</tr>
<tr>
<td height='100' colspan='2' align="center" class='tdbg'><form name="form1" method="post" action="">
<strong> Input your username:</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="Next step">
<input name="Cancel" type="button" id="Cancel" style="cursor:hand;" onclick="window.close();" value="Cancel">
</form></td>
</tr>
</table>
<%
elseif Action="step2" then
if UserName="" or strLength(UserName)>14 or strLength(UserName)<4 then
founderr=true
errmsg=errmsg & "<br><li>Input username (between 4 and 14 characters)</li>"
else
if Instr(UserName,"=")>0 or Instr(UserName,"%")>0 or Instr(UserName,chr(32))>0 or Instr(UserName,"?")>0 or Instr(UserName,"&")>0 or Instr(UserName,";")>0 or Instr(UserName,",")>0 or Instr(UserName,"'")>0 or Instr(UserName,",")>0 or Instr(UserName,chr(34))>0 or Instr(UserName,chr(9))>0 or Instr(UserName,"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -