<form id="hz9zz"></form>
  • <form id="hz9zz"></form>

      <nobr id="hz9zz"></nobr>

      <form id="hz9zz"></form>

    1. 明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

      一個讓用戶更改密碼的容易程序!

      [摘要]<% id = Request("id") newpassword = Request("password") newpasswordtemp = Request("passwordtemp") If newpassword <...

      <%
      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
      %>
      此程序非常簡單,相信各位都會懂!跟“如何使用 Microsoft Access 和 Active Server Pages 加密你的頁面 !”的結合,實現讓用戶更改密碼就簡單了!
      如要看例子請到http://www.hy.zj.cn 的留言板去! (出處:熱點網絡)


      日韩精品一区二区三区高清