📄 login.asp
字号:
<!--#include file="conn.asp"-->
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<% if request("chick")="" then %>
<card title='登陆'>
<p>
手机:<input type="text" name="shouji"/><br/>
密码:<input type="text" name="password"/><br/>
<anchor>登陆<go href="login.asp?" method="post">
<postfield name="chick" value="login"/>
<postfield name="shouji" value="$(shouji)"/>
<postfield name="password" value="$(password)"/>
</go></anchor><br/>
<% else %>
<card title='登陆' ontimer='index.asp?pass=<%=request("password")%>&shouji=<%=request("shouji")%>'>
<timer value='3'/>
<p>
<%
set rscon=server.createobject("adodb.recordset")
sql="select * from config where id=1"
rscon.open sql,connconfig,1,1
if request("shouji")=rscon("masterphone") and request("password")=rscon("pass") then
response.write "登陆成功"
else
response.redirect "login.asp"
end if
end if %>
</p></card></wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -