Re: adult content censoring

From: Date: Sun, 25 Apr 2004 15:21:48 +0000
Subject: Re: adult content censoring
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-184565@lists.php.net to get a copy of this message
Richard Davey wrote: > and that's it - I pass any string I need to this whenever someone > posts a message, subject, etc etc and it hasn't failed me yet :) > (unless the bad word isn't in your list of course!) To guard against 'lame' impressions of words to be filtered, you might also check all combinations of variations of lettering of each undesired word. You can do this programmatically without have to list them all. i.e. l replaced with digit 1 or any l looking characters with byte code > 128 o replace with digit 0 or any o looking characters with byte code > 128 f replaced with any f looking characters with byte code > 128 Read a spample erectile dysfunction or pain medication mail to get the idea. Definition: spample - Spam samples; a sampling of spam. -- Richard A. DeVenezia

« previous php.general (#184565) next »