[求助]怎么过滤脏话
我做一个留言簿,在留言的时候怎么来过滤脏话呢,我在数据库中建了一个表,里面有一个字段也添加了内容。怎么加在这里面:<!--#include file="conn.asp"-->
<%
dim name1,sex,qq,sheng,shi,email,hua,biaoqing,aa
name1=trim(request.Form("name1"))
sex=trim(request.Form("sex"))
qq=trim(request.Form("qq"))
sheng=trim(request.Form("sheng"))
shi=trim(request.Form("shi"))
email=trim(request.Form("email"))
hua=trim(request.Form("hua"))
biaoqing=trim(request.Form("biaoqing"))
ip=request.ServerVariables("REMOTE_ADDR")
set rs=server.CreateObject("adodb.recordset")
rs.open"select * from lyb" ,conn,1,3
rs.addnew
rs.fields("name")=name1
rs.fields("sex")=sex
rs.fields("qq")=qq
rs.fields("sheng")=sheng
rs.fields("email")=email
rs.fields("shi")=shi
rs.fields("xinqing")=biaoqing
rs.fields("hua")=hua
rs.fields("ip")=ip
rs.update
rs.close
response.Redirect("lyb.asp")
conn.close
set rs=nothing
%>