ASP中限制某些字符留言评论
时间:2021-01-20 14:19:19|栏目:ASP代码|点击: 次
Sub CheckCanSubmit(str)
Dim connt,connts
connt="六合彩,免费电影,安利,http,www,<a"
connts = split(connt,",")
For each glword in connts
if instr(str,glword)<>0 then
Response.Write("<script>alert('操作非法');window.history.go(-1);</script>")
Response.End()
end if
next
End Sub
栏 目:ASP代码
下一篇:在ASP中不用模板生成HTML静态页直接生成.html页面
本文标题:ASP中限制某些字符留言评论
本文地址:http://www.codeinn.net/misctech/48399.html






