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

📄 reg.asp

📁 完整的九洲问吧。优秀的问答网站。由ASP+Access开发。
💻 ASP
字号:
<!--#include file=conn.asp-->
<!--#include file="function.asp"-->
<!--#include file="config.asp"-->
<!--#include file="md5.asp"-->
<HTML>
<HEAD>
<TITLE>用户注册</TITLE>
<META http-equiv=content-type content="text/html; charset=GB2312">
<style type="text/css">
<!--
.zhtable {table-layout:fixed; word-wrap:break-word; width:100%; }
input{font-family:"arial"}
td		{font-size: 9pt; line-height: 18px;font-family: "Arial";}
.p3		{font-size:13px; line-height: 24px;font-family: "Arial";}
.bnsrh		{padding-top:2px;height:24px}
.bn100		{padding-top:2px;height:24px;width:100px}
.bnask		{color:#000000;background-color:#FFD801;padding-top:2px;height:24px}
.bgbdy		{background-color: #FFFFFF;margin:0px;}
.bglne		{background-color: #DDF1D8; padding-right: 10px;}
.bgtle		{border-top: #58CB64 1px solid; background-color: #DDF1D8; padding-left: 10px; padding-right: 10px; height:24px; font-weight:bold; font-size: 14px;}
.bgtleBl	{border-top: #64B7D7 1px solid; background-color: #DEEEF4; padding-left: 10px; padding-right: 10px; height:24px; font-weight:bold; font-size: 14px;}
.bgtleYl	{border-top: #F4BF20 1px solid; background-color: #FBF5C6; padding-left: 10px; padding-right: 10px; height:24px; font-weight:bold; font-size: 14px;}
.bgtleR		{border-top: #58CB64 1px solid; background-color: #DDF1D8; padding-left: 10px; padding-right: 10px; height:24px;}
.bgtleL		{border-top: #58CB64 1px solid; background-color: #DDF1D8; padding-left: 10px; padding-right: 10px; height:24px; font-size: 14px; font-weight:bold;}
.bgdsrh		{background-color: #DDF1D8; padding-left: 10px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px;}
.bgdsrhLn	{background-color: #58CB64;}
.bgcnt		{background-color: #FFFFFF; padding-left: 10px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px;}
.bgcntBor3	{BORDER-left: #DDF1D8 2px solid; BORDER-right: #DDF1D8 2px solid; BORDER-bottom: #DDF1D8 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgcntBor3Bl	{BORDER-left: #DEEEF4 2px solid; BORDER-right: #DEEEF4 2px solid; BORDER-bottom: #DEEEF4 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgcntBor3Yl	{BORDER-left: #FBF5C6 2px solid; BORDER-right: #FBF5C6 2px solid; BORDER-bottom: #FBF5C6 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgcntBor4	{BORDER: #DDF1D8 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgcntBor4Bl	{BORDER: #DEEEF4 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgcntBor4YL	{BORDER: #FBF5C6 2px solid; background-color: #FFFFFF; padding-left: 8px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px;}
.bgpagLn	{BORDER: #B4DAF8 1px solid; background-color: #F9FDFF; font-size: 14px;}
.bgtab		{BORDER-TOP: #D6D6EB 1px solid; BORDER-left: #D6D6EB 1px solid; BORDER-right: #D6D6EB 1px solid; BORDER-bottom: #FFFFFF 1px solid;}
.bgtabCr	{BORDER-top: #58CB64 1px solid; BORDER-left: #58CB64 1px solid; BORDER-right: #58CB64 1px solid; BORDER-bottom: #DDF1D8 1px solid; background-color: #DDF1D8; font-weight:bold; font-size: 14px; color:#000000;}
.bgusr		{background-color: #E6F9EC;}
.lngn		{border-bottom:1px solid #6fa02b; }
.ln23		{height:23px; border-bottom:1px solid #E1E1E1;}
.ln28		{padding:3px; border-top:1px solid #E1E1E1; padding-left:6px;}
.ln20		{border-top:1px solid #E1E1E1;}
.ln28pl4	{padding:3px; border-top:1px solid #E1E1E1; padding-left:4px;}
.padL4		{padding-left:4px}
.padL6		{padding-left:6px}
.pad10L		{padding-left:10px}
.f14		{font-size: 14px;line-height: 22px;}
.f14B		{font-size: 14px; font-weight:bold;}
.f14weB		{ font-size: 14px; font-weight:bold;}
.f14ln20	{font-size: 14px; line-height: 20px;}
.lh22		{line-height: 22px;}
.f12gy		{color:#666666;}
.f12we		{color:;}
.f12og		{color:#FF6600;}
.f12gn		{color:#008800;}
.f12rd		{color:#FF3300;}
.f12b		{font-weight:bold;}
a:link			{text-decoration: underline;Color:#0000cc;}
a:visited		{text-decoration: underline;Color:;}
a.lbk:link		{color:#000000; text-decoration: underline}
a.lbk:visited		{color: #000000; text-decoration: underline}
a.lwe:link		{color:#FFFFFF; text-decoration: underline}
a.lwe:visited		{color: #FFFFFF; text-decoration: underline}
a.lmore:link		{font-weight:bold; text-decoration: underline}
a.lmore:visited		{font-weight:bold; text-decoration: underline}
a.lklbe:link		{color: #7777cc; text-decoration: underline}
a.lklbe:visited		{color: #7777cc; text-decoration: underline}
a.lkgn:link			{color: #008800; text-decoration: underline;}
a.lkgn:visited		{color: #008800; text-decoration: underline;}
a.cy:link		{color: #7777cc; text-decoration: underline}
a.cy:visited		{color: #7777cc; text-decoration: underline}
a.headTit:link{color:#0000cc;font-size:13px; line-height: 24px;}
a.headTit:visited{color:#0000cc;font-size:13px; line-height: 24px;}
.headTitB{font-weight:bold;font-size:13px; line-height: 24px;font-family: "Arial";}
.TopMgn6{margin-top:6px}
.cBaidu{color:#777777}
.padRig12{padding-right:12px;}
.fB{Font-weight:bold}
.pad3{padding:3px;}
.magBtm12{margin-bottom:12px;}
.padL12{padding-left:12px;}
.divC{width:770px;text-align:left;}
.pC{width:65%; font-size:80%;line-height:18px;}
.ResultTit{font-size : 125%; line-height:120%;margin-bottom:2px;}
.kwC{color:#FF3300;}
.fs{font-size:95%;color: #008800;}
-->
</style>
</HEAD>
<%if request("submit")="提  交" then
jiance=request("name")
if InStr(jiance,"or")<>0 or InStr(jiance,"'")<>0 or InStr(jiance,"`")<>0 or InStr(jiance,"=")<>0 or InStr(jiance,"-")<>0 or InStr(jiance,",")<>0 or InStr(jiance,"and")<>0 then 
Response.Write "<script language=JavaScript>{alert('用户名含有非法字符!');history.back();}</script>"
Response.End 
end if
if InStr(request("question"),"or")<>0 or InStr(request("question"),"'")<>0 or InStr(request("question"),"`")<>0 or InStr(request("question"),"=")<>0 or InStr(request("question"),"-")<>0 or InStr(request("question"),",")<>0 or InStr(request("question"),"and")<>0 then 
Response.Write "<script language=JavaScript>{alert('密码提示问题含有非法字符!');history.back();}</script>"
Response.End 
end if
if InStr(request("answer"),"or")<>0 or InStr(request("answer"),"'")<>0 or InStr(request("answer"),"`")<>0 or InStr(request("answer"),"=")<>0 or InStr(request("answer"),"-")<>0 or InStr(request("answer"),",")<>0 or InStr(request("answer"),"and")<>0 then 
Response.Write "<script language=JavaScript>{alert('密码提示问题答案含有非法字符!');history.back();}</script>"
Response.End 
end if
if request("email")<>"" then
if Instr(request("email"),"=")>0 or Instr(request("email"),"%")>0 or Instr(request("email"),chr(32))>0 or Instr(request("email"),"?")>0 or Instr(request("email"),"&")>0 or Instr(request("email"),";")>0 or Instr(request("email"),",")>0 or Instr(request("email"),"'")>0 or Instr(request("email"),",")>0 or Instr(request("email"),chr(34))>0 or Instr(request("email"),chr(9))>0 or Instr(request("email"),"

⌨️ 快捷键说明

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