- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
AS P登陆原代码(正确版)
1、(index.asp 用户登陆页面?)
!-- #includ?e file=conn.asp --
!-- blog.soowoo? 悠悠长假期 --
html
head
meta http-equiv=Conten?t-Type conten?t=text/html; charse?t=gb2312?
title会员/title
style type=text/css
!--
body,td,th {
font-family?: 宋体;
font-size: 14px;
}
--
/style
/head
body
center?
p会员注册系统?/p
form name=form1 method?=post action?=login.asp
table width=34% border?=0
tr
td width=33% height?=30用户名:/td
td width=67% height?=30input name=userna?me type=text id=userna?me size=15/td
/tr
tr
td height?=30密 码:/td
td height?=30input name=passwo?rd type=passwo?rd id=passwo?rd size=15/td
/tr
tr
td colspa?n=2 align=center?input type=submit? name=Submit? value=确定
input type=reset name=Submit? value=重置/td
/tr
tr
td colspa?n=2a href=reg.asp target?=_self注册/a/td
/tr
/table
/form
/center?
/body
/html
2、(login.asp 用户数据处理?文件)
!-- #includ?e file=conn.asp --
%
打开数据库判?断用户是否存?在,info为表?名,userna?me为字段名?
set rsc=server?.create?object?(adodb.record?set)
sqlc=select? * from info where userna?me=reques?t.Form(userna?me) and passwo?rd=reques?t.Form(passwo?rd)
rsc.open sqlc,conn,1,1
sessio?n(userna?me)=rsc(userna?me)
sessio?n(passwo?rd)=rsc(passwo?rd)
sessio?n.Timeou?t=30
set rsc=nothin?g
respon?se.Redire?ct(change?.asp)
如果用户不存?在,sessio?n(userna?me)为空
%
3、(change?.asp 用户信息修改?页面)
!-- #includ?e file=conn.asp --
html
head
meta http-equiv=Conten?t-Type conten?t=text/html; charse?t=gb2312?
title修改/title
style type=text/css
!--
body,td,th {
font-size: 14px;
}
--
/style/head
center?
body
br
%
set rsc=server?.create?object?(adodb.record?set)
sqlc=select? * from info where userna?me=sessio?n(userna?me) and passwo?rd=sessio?n(passwo?rd)
rsc.open sqlc,conn,1,1
nr=rsc(passwo?rd)
userna?me=rsc(userna?me)
passwo?rd=rsc(passwo?rd)
sex=rsc(sex)
qq=rsc(qq)
mail=rsc(mail)
add=rsc(add)
person?alinfo?=rsc(person?alinfo?)
vv=rsc(ntime)
set rsc=nothin?g
if nr= then
respon?se.Redire?ct(index.asp)
end if
if strcom?p(nr,reques?t.Form(passwo?rd))=0 then
respon?se.Write(欢迎你!reques?t.Form(userna?me))
respon?se.Write(你是在vv注册的)
sessio?n
您可能关注的文档
- 机械制造课程设计--设计“法兰盘”零件的机械加工工艺规程及工艺装备.doc
- 机械制造工艺学输出轴课程设计说明书(可编辑).doc
- 机械制图练习题20121218.doc
- 机械原理课程设计---压床机构.doc
- 机械原理课程设计03B_半自动钻床说明书.doc
- 机械原理课程设计1122_半自动钻床说明书(完全免费).doc
- 机械专业毕业论文——机械密封在旋转设备上的应用及故.doc.doc
- 机械制造类专业人才继续教育研究.doc
- 机械外文翻译--世界最新机械设计理念.doc
- 机械图纸德语中文对照[总结].doc
- GB 50140-2005 建筑灭火器配置设计规范.pdf
- GB 50098-98 人民防空工程设计防火规范.pdf
- GB 50098-2009 人民防空工程设计防火规范.pdf
- GB 50151-92 低倍数泡沫灭火系统设计规范(2000年版).pdf
- GB 50156-2012 汽车加油加气站设计与施工规范(2014年版).pdf
- GB 50160-92 石油化工企业设计防火规范(1999年版).pdf
- GB 50160-2008 石油化工企业设计防火标准(2018年版).pdf
- GB 50179-2015 河流流量测验规范:英文.pdf
- GB 50193-93 二氧化碳灭火系统设计规范(1999年版).pdf
- GB 50193-93 二氧化碳灭火系统设计规范(2010年版).pdf
原创力文档


文档评论(0)