Click to See Complete Forum and Search --> : Word Filtering in form returns


Mouse77e
11-11-2005, 03:00 PM
Ladies and gentlemen, boys and girls…

I have a problem and I am looking to you to offer a script or a solution.

I run an online registry and it is, as you might expect based around a form or two but I am getting mightly peeved by spammers.

The problem it two fold. Firstly those who register for the site, creating a profile and then only leaving a message asking if I am happy with my genitallia or would I perhaps like to try some wonder drug to help me out?

Secondly, the nature of my site attracts younger viewers who come upon it by mistake and I really don’t want genuine users with an otherwise legitimate post on my site using certain swear words (I don’t see this as censorship, more like good manners).

Has anyone got any ideas on filtering a prescribed list of words out of either the form return as it enters the database or out of the database afterwards?

the site is a PHP and MySQL based thingy... BTW Viagra anyone? (I dont need it you see...) lol

Many thanks

Mouse

ray326
11-11-2005, 10:38 PM
Many BBSes have the "bad word" thingy. I've got a YaBB site that confused a user mightily when she tried to post a message about a person with the last name "****burn", which YaBB cheerfully translated to "Thingieburn" as it displayed the message.

You can't prevent human spammers but you can foil programs by requiring the input of a few alphanumerics presented graphically on the input form.