ODBiC Discussion Board


reply to : Profanity blocking

by Tony Klett, October 20, 2003 01:28

David

It depends what you want to do if you find one, but if you simply want to identify that there is a profanity you can create a new variable containing all the variables that you want to search, converted to lower case - then run match on this one variable.

<!--SET obsceneCheck=$lcase($var1$ $var2$ etc.)--> <!--IF match($obsceneCheck$,"xxxx")<>0 OR match($obsceneCheck$,"yyyy")<>0-->

I've has this in place on a script for a couple of years but, rather disappointingly, nobody has matched any of my words yet!

Tony.


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.