wap_check.asp
来自「1.手机浏览2.手机发布3.手机搜索4.栏目二级分类5.中文/英语操作支持」· ASP 代码 · 共 38 行
ASP
38 行
<%
'┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
'┃ 奇网天下·7WAP企业(移动)信息系统 ┃
'┃ ┃
'┃ Copyright All Rights Reserved. ┃
'┃ 官方: www.7wap.cn ┃
'┃ 作者: 孙岩清 ┃
'┃ 授权: BEAT版 未经授权不得商业使用。 ┃
'┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
'┃ Version 1.0 ┃
'┃ Description 开发建议/使用问题/扔砖头:BBS.7WAP.CN ┃
'┃ Create 2005.11.18 beat3 ┃
'┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
%>
<!--#include file=conn.asp-->
<!--#include file=inc/md5.asp-->
<!--#include file=inc/function.asp-->
<%
Dim rs1,uid,pwd
uid=ReplaceBadChar(trim(request("ewap_user")))
pwd=trim(request("ewap_pwd"))
set rs1=server.createobject("adodb.recordset")
sql1="select * from com where USR='"&uid&"'and pwd='"&md5(pwd)&"'"
rs1.open sql1,cn,1,1
if not (rs1.bof and rs1.eof) then
session("admin")=uid
session.timeout=60
response.redirect"wap_add.asp"
rs.close
set rs=nothing
cn.close
set cn=nothing
else
response.redirect"wap_login.asp"
end if
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?