adminresetpwd.asp
来自「ASP+SQL Server网络应用系统开发与实例」· ASP 代码 · 共 17 行
ASP
17 行
<!--#include file="../conndb.asp"-->
<!--#include file="isAdmin.asp"-->
<html>
<head>
<title>系统管理员</title>
</head>
<body>
<%
aid = Request.QueryString("aid")
orgpwd = Request("orgpwd")
Conn.Execute("Update Admin Set Pwd='"&Request("pwd")&"' Where Id='"&aid&"'")
Session("admin_id") = aid
Session("admin_pwd") = Request("pwd")
Response.Write "<h2>更改密码成功!</h2>"
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?