海外邮件中继,海外退信中继,美国高速VPS,不限流量VPN,邮局维护和管理,邮件网关,EMOS邮件中继,POSTFIX邮件中继,Winwebmail邮件中继,Winmail邮件中继,DBMail邮件中继,JDMail邮件中继,Exchange邮件中继,MDaemon邮件中继 淘宝店:http://shantan.taobao.com 云邮科技官网:www.yunrelay.com
【字体设置:大 中 小】
ASP过滤禁止注册的用户名,ASP过滤特殊字符号字符串
<%
RegisterName=replace(replace(replace(replace(replace(replace(replace(Request.form("RegisterName"),"'",""),"#",""),Chr(34),""),"?","")," ",""),"=",""),"*","")
Forbiden="~|!|@|#|$|%|^|&|*|(|)|_|+|=|-|`|\|;|:|/|admin|?|.|>|,|<"
S=Split(Forbiden,"|") '分割|取得禁用词
for i=0 to Ubound(S)
if Instr(RegisterName,S(i))>0 then
ErrTip="注册名中不允许存在“"&S(i)&"”等词语"
end if
next
Response.Write "<script>window.alert('"&ErrTip&" ');window.location.href='reg.asp';</script>"
%>
发表评论 - 不要忘了输入验证码哦!