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

📄 changepwd.asp

📁 一个简单的图书管理系统!毕业论文
💻 ASP
字号:
<link href="style.css" type="text/css" rel="stylesheet">
<!--#include file="conn.asp"-->
<%
'确认原密码
dim id
id=request("uid")
if request("pwd")<>"" then
if request("utype")<>"3" then 'utpye=3 admin
sql1="select * from u where id="&id
else 
sql1="select * from admin where id="&id
end if 
set rs1=db.execute(sql1)
if request("pwd")=rs1("pwd") then
response.Redirect("pwd2.asp?uid="&id&"&utype="&request("utype"))
else
response.write "<script>alert('原密码错误');history.go(-1)</script>"
end if 
else
%><div><form action="" method="post">确认原密码
<input name="pwd" type="password"  size="15" >
 <input type="submit"  value="确认">
              &nbsp; 
              <input type="reset"  value="重置">
</form></div>
<%end if %>



⌨️ 快捷键说明

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