<%
set objconn=Server.Createobject("adodb.connection")
objconn.connectionstring="Driver={Microsoft Access Driver(*.mdb)};" & "DBQ="& Server.MapPath("cangku.mdb")
objconn.connectionstring="dsn=sttable;"
objconn.open
username=user.form("username")
password=user.form("password")
if username="" or password="" then
response.write ("<script language=javascript>alert'用户名和密码不能为空!';history.go(-1);</script>")
else
set rs=Createobject("adodb.recordset")
sql="select * from caigouruku"
rs.open.sql objconn,1,3
if username=rs("username") and password=rs("password") then
response.redirct "caigouruku.html"
else
response.write ("<script language=javascript>alert'用户名或密码输入错误,请确认!';history.go(-1);</script>")
%>
<%end if%>
<%end if%>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
denglu.rar_后台登入
版权申诉
16 浏览量
2022-09-22
18:38:03
上传
评论
收藏 573B RAR 举报
![avatar](https://profile-avatar.csdnimg.cn/36163497263541e6b6d5b627b1692a97_weixin_42653691.jpg!1)
朱moyimi
- 粉丝: 65
- 资源: 1万+
最新资源
- pod-tomcat.yaml
- This module implements the Requests API.
- Delphi 12 控件之unidac-10.2.1-d29pro.exe
- keyword.other.package.java
- Apple//DTD PLIST 1.0//EN
- comment.block.documentation.rust
- there is no way to distinguish perfectly
- 数据库管理工具:dbeaver-ce-24.0.2-x86-64-setup.exe
- Objective-C.tmLanguage
- 数据库管理工具:dbeaver-ce-24.0.2-macos-x86-64.dmg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)