- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
getpwd4.asp
资源名称:shop2.rar [点击查看]
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <!--#include file=conn.asp -->
- <!--#include file="md5.asp"-->
- <%
- username=request("username")
- passwd=md5(trim(request.form("passwd")))
- set rs=Server.CreateObject("Adodb.Recordset")
- sql="select * from [YX_User] where name='"&username&"'"
- rs.open sql,conn,1,3
- If rs.eof Then
- %>
- <script language="javascript">
- alert("这个用户还没有注册呢,请到首页注册吧!")
- location.href="javascript:history.back()"
- </script>
- <%
- else
- rs("password")=passwd
- rs.update
- end if
- rs.close
- set rs=nothing
- conn.close
- set conn=nothing
- %>
- <html><head><title>取回密码</title>
- <meta http-equiv="Content-Language" content="zh-cn">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link href="images/css.css" rel="stylesheet" type="text/css">
- </head>
- <body topmargin="20" leftmargin="0" oncontextmenu="self.event.returnValue=false">
- <table width="320" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#6FABCB" style="border-collapse: collapse">
- <tr>
- <td height="100" bgcolor="F8FAFB">
- <p align="center">新密码设置成功,请返回首页*<a href="index.asp">重新登录</a>*!</p>
- </td>
- </tr>
- <tr>
- <td bgcolor="F8FAFB">
- <p align="center"><a href="javascript:window.close()" class="1">关闭窗口</a></p></td>
- </tr>
- </table>
- </body>
- </html>