⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alogin.asp

📁 online sales system of texttile mill was a project within which there was great opportunity for Lear
💻 ASP
字号:
<!-- #include file="conn.asp" -->
<html>
<head>
</head>
<body>
<%
count = 0
total_cost = 0
id = request.form("id")
pass = request.form("pass")
Set oRs = Server.CreateObject("ADODB.RecordSet")
SQL = "select * from users where UserName='"&id&"' and password='"&pass&"'"
Set oRs = Objcon.execute(SQL)
if oRs.EOF then
	oRs.close

	Set oRs = nothing
	response.redirect "administrator.asp?invalid=1"
'incorrect values for email or password, do processin
else
	oRs.close

	Set oRs = nothing
	session("admin") = id
	response.redirect "reminder.asp"
end if
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -