ASP 에서 일부 문자 댓 글 제한

412 단어 문자코 멘 트

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

좋은 웹페이지 즐겨찾기