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

📄 change_pwd_save.asp

📁 8款下载系统源代码 2003-3-11 21:37:45 433 949k · 都很常见: 猛虎山庄、燕衔泥(飞扬的软件第二版用的就是他
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
dim pwd,cpwd,uID
uID=request.cookies("uID")
pwd=request.form("pwd")
cpwd=request.form("cpwd")
If pwd<>cpwd Then
response.write "<script>alert('对不起,您两次输入的密码不一样。');history.back();</Script>"
End If

dim rs,sql

set rs=Server.CreateObject("Adodb.Recordset")
sql="select pwd from member where uID='"&uID&"'"
rs.open sql,conn,1,3
rs("pwd")=pwd
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.write "<script>alert('恭喜您,密码修改成功!');location.href='ctrl.asp';</Script>"

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title></title>
</head>

<body>

</body>

</html>

⌨️ 快捷键说明

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