Hi Christopher,

> I'm wondering if someone has a great source for a master-list 
> of controversial and vulger words that I can use on my site. 
> I would like to pattern match input text against this master-list 
> in order to prevent vulger and controversial words from appearing 
> on my site.

Before you spend ages finding a good list, get the routine working. 

Once you've got the routine working, post it here, because there are many
people who would like to know how to do this properly.

The problems that others have experienced in the past are:

  - what happens with "mis"spellings, e.g. "fsck"?
  - what happens with dodgy formatting, e.g "f s c k"?
  - what happens with words like "Scunthorpe"?

Additionally, from my experience of the mail content filters we use here at
$WORKPLACE, you will also need to be careful not to cause offence by
catching peoples' names. We have a Chinese gentleman as a client with a
surname that could be mistaken for an offensive word - he was not best
pleased to receive a bounce message telling him that his email hadn't been
delivered because he was using profanity.

May I suggest, rather than picking your way through this minefield, you
provide a "report abusive comment" link instead?


Cheers
Jon


  

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to