⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 save_register.asp

📁 asp+access开发的网上购物程序
💻 ASP
字号:
<%@ codepage ="936" %><!--#include file="../../conn/dbconn2.asp" --><script LANGUAGE="JavaScript">function goHist(a) {history.go(a); }</script><%dim rsgsdim gssqldim userdim passdim questiondim answerdim qymcdim qylbdim qyxzdim zczjdim frdbdim ygrsdim zhdim bankdim nyyedim zycpdim qyjjdim sfdim citydim postdim addressdim phonedim faxdim emaildim webdim namedim chdim bmdim zw dim bighydim lithydim qylb1dim qylb2dim qylb3dim qylb4dim gsiddim sortiddim typeiddim errmsguser=request.form("user")pass=request.form("pass")question=request.form("question")answer=request.form("answer")qymc=request.form("qymc")qyxz=request.form("qyxz")zczj=request.form("zczj")frdb=request.form("frdb")ygrs=request.form("ygrs")nyye=request.form("nyye")zycp=request.form("zycp")qyjj=request.form("qyjj")sf=request.form("sf")city=request.form("city")post=request.form("post")address=request.form("address")phone=request.form("phone")email=request.form("email")name=request.form("name")ch=request.form("ch")bm=request.form("bm")zw=request.form("zw")bighy=request.form("bighy")lithy=request.form("lithy")qylb=request.form("qylb1")if trim(request.form("sf"))="北京" thencityid="1"end ifif trim(request.form("sf"))="上海" thencityid="2"end ifif trim(request.form("sf"))="天津" thencityid="3"end ifif trim(request.form("sf"))="重庆" thencityid="4"end ifif trim(request.form("sf"))="黑龙江" thencityid="5"end ifif trim(request.form("sf"))="吉林" thencityid="6"end ifif trim(request.form("sf"))="辽宁" thencityid="7"end ifif trim(request.form("sf"))="内蒙古" thencityid="8"end ifif trim(request.form("sf"))="河北" thencityid="9"end ifif trim(request.form("sf"))="新疆" thencityid="10"end ifif trim(request.form("sf"))="甘肃" thencityid="11"end ifif trim(request.form("sf"))="宁夏" thencityid="12"end ifif trim(request.form("sf"))="山西" thencityid="13"end ifif trim(request.form("sf"))="山东" thencityid="14"end ifif trim(request.form("sf"))="青海" thencityid="15"end ifif trim(request.form("sf"))="西藏" thencityid="16"end ifif trim(request.form("sf"))="四川" thencityid="17"end ifif trim(request.form("sf"))="陕西" thencityid="18"end ifif trim(request.form("sf"))="河南" thencityid="19"end ifif trim(request.form("sf"))="湖北" thencityid="20"end ifif trim(request.form("sf"))="安徽" thencityid="21"end ifif trim(request.form("sf"))="江苏" thencityid="22"end ifif trim(request.form("sf"))="浙江" thencityid="23"end ifif trim(request.form("sf"))="江西" thencityid="24"end ifif trim(request.form("sf"))="湖南" thencityid="25"end ifif trim(request.form("sf"))="贵州" thencityid="26"end ifif trim(request.form("sf"))="云南" thencityid="27"end ifif trim(request.form("sf"))="广西" thencityid="28"end ifif trim(request.form("sf"))="广东" thencityid="29"end ifif trim(request.form("sf"))="福建" thencityid="30"end ifif trim(request.form("sf"))="海南" thencityid="31"end ifif trim(request.form("sf"))="香港" thencityid="32"end ifif trim(request.form("sf"))="澳门" thencityid="33"end ifif trim(request.form("sf"))="台湾" thencityid="34"end ifif trim(request.form("fax"))="" thenfax="空"elsefax=request.form("fax")end ifif trim(request.form("bank"))="" thenbank="空"elsebank=request.form("bank")end ifif trim(request.form("zh"))="" thenzh="空"elsezh=request.form("zh")end ifif trim(request.form("web"))="" thenweb="空"elseweb=request.form("web")end if%><%set rs=server.CreateObject ("adodb.recordset")sql="select * from qyml where user='"&request("user")&"'"rs.open sql,conn,1,3if not rs.eof then%><table border="0" cellspacing="0" width="100%" cellpadding="0"><tr><td width="100%" height="250" valign="middle" align="center"><font color="#000000" class=f12><b>该户名已经存在,请点击返回按钮,重新填写用户名。</b><form method="post"><input type="button" VALUE="返回" onClick="goHist(-1)"></form></font></td></tr></table><%elsers.addnewrs("user")=userrs("pass")=passrs("question")=questionrs("answer")=answerrs("qymc")=qymcrs("qylb")=qylbrs("qyxz")=qyxzrs("zczj")=zczjrs("frdb")=frdbrs("ygrs")=ygrsrs("zh")=zhrs("bank")=bankrs("nyye")=nyyers("zycp")=zycprs("qyjj")=qyjjrs("sf")=sfrs("city")=cityrs("post")=postrs("address")=addressrs("phone")=phoners("fax")=faxrs("email")=emailrs("web")=webrs("name")=namers("ch")=chrs("bm")=bmrs("zw")=zwrs("gsid")=userrs("cityid")=cityidrs("sortid")=bighyrs("typeid")=lithyrs.updaters.closeset rs=notingconn.closeset conn=nothing %><table border="0" cellspacing="0" width="100%" cellpadding="0"><tr><td width="100%" height="230" valign="middle" align="center"><IMG src="../../pict/success.gif"><br><br><font color="#000000" class=f12><b>恭喜您,您已经成为《电子采购》的会员!!</b></font></td></tr></table><%end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -