📄 admincheck.asp
字号:
<% @ LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file ="Connections/auto.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>LogingCheck</title>
</head>
<body>
<%
Lname = Trim(request.form("uid"))
Lpwb = Trim(request.Form("pwd"))
%>
<%
set RS = server.CreateObject("ADODB.Recordset")
Sname = "select * from admin where username='" & Lname & "' and pwd='" & Lpwb &"'"
RS.open Sname , CN
%>
<%
if not RS.eof then
response.Redirect("main_chaoji.asp")
else
%>
<script language="vbscript">
alert("用户名密码不正确登记!")
window.navigate("adminlogin.asp")
</script>
<%
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -