Re: dirty words

From: Date: Mon, 18 Oct 2004 17:13:16 +0000
Subject: Re: dirty words
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199767@lists.php.net to get a copy of this message
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

« previous php.general (#199767) next »