Just go to one of those raunchy porn sites and pull the words out of thier meta tags 
or "hidden" word list (i.e. white text on white background) buried in the HTML.

;-)


> hey,
> 
> does anyone have a big compiled list? like a profanity library?
> 
> maybe even a multi-lingual one!
> 
> hey, it would be fun to make :)
> 
> _alex
> 
> 
> --
> Alex Black, Head Monkey
> [EMAIL PROTECTED]
> 
> The Turing Studio, Inc.
> http://www.turingstudio.com
> 
> vox+510.666.0074
> fax+510.666.0093
> 
> Saul Zaentz Film Center
> 2600 Tenth St Suite 433
> Berkeley, CA 94710-2522
> 
> 
> 
> 
> > From: [EMAIL PROTECTED] ("Sterling Hughes")
> > Organization: Pentap Technologies
> > Newsgroups: php.general
> > Date: 19 Jan 2001 12:09:56 -0800
> > Subject: Re: [PHP] Profanity Filter
> >
> >
> >
> >> On Fri, 19 Jan 2001, Ignacio Vazquez-Abrams wrote:
> >>
> >>> On Fri, 19 Jan 2001, Sterling Hughes wrote:
> >>>
> >>>> I'm saying use the same method, but use an array and avoid the
> > strpos()
> >>>> function:
> >>>>
> >>>> $words = preg_split("//", $data);
> >>>> foreach ($words as $word) {
> >>>> if (in_array($prof, $words)) {
> >>>> echo "BAD WORD";
> >>>> echo "BAD WORD";
> >>>> echo "I'M TELLING";
> >>>> }
> >>>> }
> >>>>
> >>>> -Sterling
> >>>>
> >>>
> >>> That method suffers from the dictionary problem that Egan brought up.
> >>>
> >>
> >> Hey, wait a second...
> >>
> >> Does that code even make sense? I must be missing something...
> >>
> >> --
> >
> > well if you have a concussion... :)
> >
> > Its a whip up of what I was talking about, I didn't mean it as real code
> > :)...   Switch $words to $word and then swith the argument order to in_array
> > and yes, it makes sense...
> >
> > <?php
> > $profanities = array("fuck", "shit");
> >
> > $words = preg_split("/\s+/", $data);
> > foreach ($words as $word) {
> > if (in_array($word, $profanities)) {
> > echo "you did a naughty thing";
> > break;
> > }
> > }
> > ?>
> >
> >
> > Would be the somewhat sane version...
> >
> > _Sterling
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


--
--------------------------------------
   Scott A. Gerhardt  P.Geo.
   Gerhardt Information Technologies
   [EMAIL PROTECTED]
--------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to