最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
禁止垃圾注册的方法
时间:2022-07-02 23:19:06 编辑:袖梨 来源:一聚教程网
Public Function CheckNum(Str)
If Str="" Then Exit Function
If Session(Str)=False Then
RanDomize Timer
Session(Str)=Int(Rnd*9)+1
End If
CheckNum=Session(Str)
End Function
Function ValidInteger(str)
If Str="" then Exit Function
Dim re,chkstr
Set re=new RegExp
re.IgnoreCase =true
re.Global=True
re.Pattern="[^_.0-9d]"
ValidInteger=True
chkstr=re.Replace(Str,"")
ValidInteger=IsInteger(chkstr)
End Function
Public Function IsInteger(Para)
If Para="" then Exit Function
IsInteger=False
If Not (IsNull(Para) Or Trim(Para)="" Or Not IsNumeric(Para)) Then IsInteger=Para
'IsInteger=True
'End If
End Function
验证
inspect=ValidInteger(Request.Form("inspect"))
If inspectTrim(CheckNum("n1")+CheckNum("n2")) or (Isempty(CheckNum("n1")))then
Response.Write ""
response.End()
end if
Session("n1")=False:Session("n2")=False'消除
显示页面
=
相关文章
- 人人视频官网登录入口在哪-人人视频网页版永久地址最新获取 02-07
- 考试酷官网登录入口-考试酷examcoo官网登录 02-07
- 163免费邮箱-注册登录入口-163邮箱-一键快速登录 02-07
- 羽衣甘蓝在中国叫什么-为何被称为羽衣甘蓝? 02-07
- 差差漫画-在线极速登录页 02-07
- 163免费邮箱-官网一键登录入口-163邮箱多账号快捷登录 02-07