哪些古诗词适合做网名,asp密码与数据库对比语句是那句
答案:1 悬赏:0 手机版
解决时间 2021-04-10 10:47
- 提问者网友:贪了杯
- 2021-04-09 13:15
哪些古诗词适合做网名,asp密码与数据库对比语句是那句
最佳答案
- 五星知识达人网友:詩光轨車
- 2021-04-09 13:29
) AND (request(password)) then '用户名、密码不为空
dim username,password
username=replace(trim(request(username)),',)
session(username)=username
password=md5(replace(trim(request(password)),',))
set rs2=server.CreateObject(adodb.recordset)
rs2.Open select * from [Art_User] where username='&username&' and password='&password&' ,conn,1,3 '在user数据库表中查找用户
if not(rs2.bof and rs2.eof) then '找到用户
response.Cookies(cookieName)(username)=trim(request(username))rs2(time)=now()
rs2.Update
rs2.Close
set rs2=nothing
response.redirect admin/user.asp
else
call MsgBox(对不起,您的用户名或密码有误!,Back,None)
end if
call MsgBox(对不起,您的用户名或密码有误!,Back,None)
end if
else
call MsgBox(对不起,验证码有误!,Back,None)
end if
end if%>
根据自己需要改改吧......余下全文>>
dim username,password
username=replace(trim(request(username)),',)
session(username)=username
password=md5(replace(trim(request(password)),',))
set rs2=server.CreateObject(adodb.recordset)
rs2.Open select * from [Art_User] where username='&username&' and password='&password&' ,conn,1,3 '在user数据库表中查找用户
if not(rs2.bof and rs2.eof) then '找到用户
response.Cookies(cookieName)(username)=trim(request(username))rs2(time)=now()
rs2.Update
rs2.Close
set rs2=nothing
response.redirect admin/user.asp
else
call MsgBox(对不起,您的用户名或密码有误!,Back,None)
end if
call MsgBox(对不起,您的用户名或密码有误!,Back,None)
end if
else
call MsgBox(对不起,验证码有误!,Back,None)
end if
end if%>
根据自己需要改改吧......余下全文>>
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯