⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getpass_chk.asp

📁 一个ASP做的论坛
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="style.asp"-->
<img src="" width="1" height="3"><table cellpadding=0 cellspacing=1 border=0 width=770 bgcolor=#000000 align=center>
  <TR align=middle>
    <TD height=27 bgcolor="<%=tablebodycolor%>" align="center"><b><font color="#000000">找回密码第三步</font></b></TD>
        </TR>
       <TR>
    <TD align=center bgcolor="<%=tablebodycolor%>" height="20"> 
      <%
username=request.form("username")
answer=request.form("answer")
set rs=server.createobject("adodb.recordset")
sql="select username,password,answer from user where username='"&username&"'"
rs.open sql,conn,1,1
if not rs.eof then
if answer=rs("answer") then
%>
      <br>请重新设定您的新密码!
      <form name="form1" method="post" action="getpass_modify.asp">
      <input type="password" name="password" size="20" maxlength="20">
      <br>
      <input type="password" name="password2" size="20" maxlength="20">
      <input type="hidden" name="username" value="<%=username%>">
        <br><br>
        <input type="submit" value="提 交">
        <input type="reset" value="清 空">
      </form>
<%else
response.write "<br>对不起,回答错误!"
end if
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
      </TD>
        </TR>
        <TR>
    <TD align=center bgcolor="<%=tablebodycolor%>" height="22"><a href=javascript:history.go(-1)>返回上一页</a></TD>
        </TR>
      </TABLE>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -