reply to : Profanity blocking
by Tony Klett, October 20, 2003 01:28
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!
Name E-mail optional TopicMessage:
HTTP Link: Link text: