RE: [PHP] dirty words
| From: | Graham Cossey | Date: | Mon, 18 Oct 2004 22:27:02 +0000 |
| Subject: | RE: [PHP] dirty words | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199768@lists.php.net to get a copy of this message | ||
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, cr@p and shit. (Sorry for
any offense caused, but you see the problem)
Graham
> -----Original Message-----
> From: Skippy [mailto:skippy@zuavra.net]
> Sent: 18 October 2004 18:13
> To: php-general@lists.php.net
> Subject: Re: [PHP] dirty words
>
>
> On Sat, 16 Oct 2004 07:41:11 -0700 (PDT) Mag <genphp@yahoo.com> 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
>
>