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
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移动文件函数movefile权限不足的替代方法
下一篇:ASP 数字分页效果代码