<%

id = Request("id")

newpassword = Request("password")

newpasswordtemp = Request("passwordtemp")

 

If newpassword <> newpasswordtemp Then

Response.Write "<center>对不起,新密码与新密码确认不同.请重试!</center>"

Response.End

End If

Set conn = Server.CreateObject("ADODB.Connection")

DBPath = Server.MapPath("userinfo.mdb")

conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath

Set rs = Server.CreateObject("ADODB.Recordset")

sql="update userinfo set 密码='" & newpassword & "' where id="&id

rs.Open sql, conn, adOpenDynamic, adLockPessimistic

%>

[1]

标签:
|如何|何在|在线|线更|更改|改密|密码|码?|?|

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com

评论“如何在线更改密码?”

暂无“如何在线更改密码?”评论...