ASP中限制某些字符留言评论
ASP编程
2021-12-11
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
相关文章
- 日期:2021-12-11ASP中Null,Empty,Nothing的区别分析
- 日期:2021-12-11asp cookie中文Javascript取得中文cookie
- 日期:2021-12-11推荐4款傻瓜型的ASP服务器软件(asp运行环境一键搭建工具)
- 日期:2021-12-11SQLServer ADODB.Recordset 错误“800a0e78”,对象关闭时,不允许操作
- 日期:2021-12-11asp中使用redim、preserve创建动态数组实例
- 日期:2021-12-11ASP中实现的URLEncode、URLDecode自定义函数