Skippy does have a point. If you still receive spam emails you'll know what he means. I must have seen 20 different ways of spelling viagra, using various accented characters etc: viagra, viagra, viiagra etc etc
As for the legit words, there is the tale of Scunthorpe town council having ALL its email blocked by filtering. (Scunthorpe is a UK town BTW). But then again I could be talking total b0llocks, [EMAIL PROTECTED] and shit. (Sorry for any offense caused, but you see the problem) Graham > -----Original Message----- > From: Skippy [mailto:[EMAIL PROTECTED] > Sent: 18 October 2004 18:13 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] dirty words > > > On Sat, 16 Oct 2004 07:41:11 -0700 (PDT) Mag <[EMAIL PROTECTED]> wrote: > > I am useing file_get_contents on a remote page then > > using stristr() to make sure there are no "bad words" > > and its a family site. > > May I point out this is a lost battle from the start? If someone really > wants to enter "bad words" they will, by masking them in various ways; > humans will interpret the bad words correctly in far more cases than you > can filter with software. Additionally, you will end up filtering parts of > legit words that look like bad words. > > -- > Skippy - Romanian Web Developers - http://ROWD.ORG > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php