login.asp
来自「仿雅虎论坛静态生成html版 后台管理:admin/admin.asp 用户」· ASP 代码 · 共 18 行
ASP
18 行
<!--#include file="../conn.asp"-->
<!--#include file="Crypt.asp"-->
<!--#include file="../board/const.asp"-->
<!--#include file="BtBBS_Fun.asp"-->
<%
StarTime = Timer():AccessNum=0
username=Request.Form("username")
password=Request.Form("password")
username=replace(replace(replace(replace(username,"'","‘"),"<","<"),">",">")," "," ")
password=replace(replace(replace(replace(password,"'","‘"),"<","<"),">",">")," "," ")
EndTime = Timer()
if username<>"" and password<>"" then
AccessNum=AccessNum+1
Set rs=conn.execute("select top 1 id,用户名,密码,权限,帐号状态 from 用户资料 where 用户名='"&username&"' and 密码='"&password&"' ")
if rs.bof and rs.eof then
Response.Cookies("login")="N"
Call JCC_Board_Top%>
<center><table width=743><tr><td><a href=index.asp><font class=NavColor>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?