So,. a while back I had an intern, that grew in to a great webdevloepr. Along the way he came up with a great method to block spam posts on forums, contact forms and any other type of site you can think of,.
Basically it stops automated posting, and there are a couple of things you can do,
1) Create a div that is set to display: hidden; (div must be in the form you want to block spam on)
2) Add a text field to this div, with a name of “checkMore” and an id of “checkMore” value=””
3) In your form submission check’s usually performed via javascript if( checkMore != ” ) it’s spam
4) In your php/asp whatever it posts to,. check for the checkMore variable if it has a value you know it’s spam
That’s it,.
Tags: block forum spam, block spam posts