天枫庄资源网 Design By www.wosibo.com

<%
userid = Request("userid")
userpass = Request("userpass")

Set conn = Server.CreateObject("ADODB.Connection")
DBPath = Server.MapPath("userinfo.mdb")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath

userid=trim(userid)
userpass=trim(userpass)
sql="select * from [userinfo]"
set Rs=Conn.execute(sql)
while not (Rs.bof or Rs.eof )
  if userid=trim(Rs("用户名")) and userpass=trim(Rs("口令")) then
    flag = "1"
end if
Rs.movenext()
wend
if flag = "1" then
Rs.close()
else
Rs.close()
Response.Write "<center>噢,此用户不存在或口令不正确!请重新输入...
</center><p align='center'>

<a href='"FONT-FAMILY: 宋体; mso-bidi-font-size: 9.0pt; mso-ascii-font-family: ' '; mso-hansi-font-family: ' '">点击这儿返回上页.</a>"
Response.End
End If
conn.close
%>

标签:
|如何|何用|用A|Ac|cc|ce|es|ss|s加|加密|密页|页面|面?|?|

天枫庄资源网 Design By www.wosibo.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
天枫庄资源网 Design By www.wosibo.com

评论“如何用Access加密页面?”

暂无如何用Access加密页面?的评论...