惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - 中国被爱可以在线

[珍藏]什么是威客,2008最新验证威客网址 给QuickWAP2.x应用CSS样式 QuickWAP各版本安装注册方式对比 QuickWAP2.x增加跳转函数Redirect - 中国被爱可以在线 - 博客园 关于实现QuickWAP 2.x绿色安装版的实现 QuickWAP 2.x使用IP注册实例 - 中国被爱可以在线 - 博客园 第一次使用QuickWAP 2.x QuickWAP V1.5管理员注册器开放 QuickWAP 2.x注册方法和购买注意事项 QuickWAP 2.x之英文、简繁体文章内容分页 WML编辑工具-BicyleWapTool V2.5 QuickWAP 2005 简易使用手册 WAP网站域名解析 QuickWAP 2005让WAP网站拥有更好的兼容性 QuickWAP 2005安装指南 QuickWAP 2005留言本一例 庆祝中国被爱可以在线下载站开通 QuickWAP 2005 简单概览 WAP中UBB标签的应用
QuickWAP2.0/2005WAP登录设计一例
中国被爱可以在线 · 2008-01-27 · via 博客园 - 中国被爱可以在线

将以下代码保存为任意ASP文件即可。

<%
Set Wap=Server.CreateObject("QWap.Wap2005")
'Set Wap=Server.CreateObject("QWap.Wap20")
Wap.CardTitle="津城车市"
Wap.PageHeader
'以下可以写文件正文
If Request("ToDo")="Login" Then
Name=Request("Name")
Pwd=Request("Pwd")
Wap.MdbPath="#Access.mdb"     '用于设置Access数据库的路径。
Wap.StrSql="select * from User Where Name='" & Name & "' and Pwd='" & Pwd & "'"
Wap.MdbDo
If Wap.RecordCount<>0 then
Wap.WriteRow "感谢您,你已经成功登录。"
Session("OnLineName")=User
Wap.WriteRow Wap.A("确定","Index.asp","进入主页")
Else
Wap.WriteRow "用户名或密码错误。"
Wap.WriteRow Wap.A("确定",Wap.ThisFileName,"重新登录")
End If
Else
Wap.WriteRow Wap.TextIn("请输入姓名","text","Name","","姓名")
Wap.WriteRow Wap.TextIn("请输入密码","password","Pwd","","密码")
'下面一句代码将以链接形式提交数据。
Wap.WriteRow Wap.AnchorGo("立即登录",Wap.ThisFileName & "?ToDo=Login","Name Pwd","Name Pwd")
End If
Wap.PageFooter
Set Wap=Nothing
%>

效果图:

查看更多精彩图片