#12005/7/22 6:08:36
我看别人是这样写的,可是我试了好像不起作用啊?
username=request.form("username")
IF instr("|我|你|他|她|法*|妈|爸|奶|爹|姥|爷|胡锦涛|江泽民|县长|[脏话,已过滤]|操|法功|","|"& username &"|")>0 Then
response.write "<script language='javascript'>" & VbCRlf
response.write "alert('用户名含有非法文字或字数太少!');" & VbCrlf
response.write "history.go(-1);" & vbCrlf
response.write "</script>" & VbCRLF
response.end
end if