deko
05-04-2006, 08:11 PM
What is the best way to screen anonymous blog posts for profanity?
I'm using WorpPress 2.02 on a LAMP server.
I'm thinking either an SQL query or (more practically) using PHP and regex. Any suggestions?
The idea is to prevent mindless, offensive rants on my blog. For example, when a "badword" is detected in the post, it gets rejected, and the user gets a message telling him that we don't want that **** here. <== notice how webhostingtalk automatically detects this.
Is there a PHP module for this? Can I modify the badword list?
Thanks in advance.
I'm using WorpPress 2.02 on a LAMP server.
I'm thinking either an SQL query or (more practically) using PHP and regex. Any suggestions?
The idea is to prevent mindless, offensive rants on my blog. For example, when a "badword" is detected in the post, it gets rejected, and the user gets a message telling him that we don't want that **** here. <== notice how webhostingtalk automatically detects this.
Is there a PHP module for this? Can I modify the badword list?
Thanks in advance.
