rude language filter

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
discobean
Forum Commoner
Posts: 49
Joined: Sun May 18, 2003 9:06 pm
Location: Sydney, Australia
Contact:

rude language filter

Post by discobean »

does anbody know of a good rude language filtering class?

I don't want nothing fancy, just something like

$languageFilter = new LanguageFilter($text);
$text = $languageFilter->toString();

and thats it? nothing fancy... I got something now, but it'll also filter out rude words within words, like <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, and I don't want that... <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>, obviously this forums got something that I want.
Post Reply