📄 muser_pass_save.asp
字号:
<!--#include file="config.asp"-->
<!--#include file="conn.asp"-->
<!-- #include file="Session.asp" -->
<!--#include file="md5.asp" -->
<%
password=request("password")
password2=request("password2")
if password=password2 and password<>"" and password2<>"" then
UserPass = Left(md5(replace(trim(Request("password")),"'","")),16)
sql="select * from kheu_nUser where user_id="&UserID
set rsr=server.createobject("adodb.recordset")
rsr.open sql,conn,1,3
rsr("user_password")=UserPass
rsr.update
rsr.close
conn.close
response.write "<SCRIPT language=JavaScript>alert('修改成功!');location.href=""mUser.asp"";"
response.write "</script>"
else
response.write "<SCRIPT language=JavaScript>alert('输入非法:两次输入密码不相同!');location.href=""mUser_Pass.asp"";"
response.write "</script>"
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -