![]() | | ||||||||
| | #1 |
| Advanced Warrior War Room Member Join Date: Dec 2008
Posts: 822
Thanks: 257
Thanked 74 Times in 64 Posts
|
Ok, I've seen a few posts of people asking how to stop forum spam, it's really quite simple, so thought I'd post a solution. If you are using any of the 'popular' forum solutions (i.e., phpBB, vbBulletin), most spammers will find a way to spam it, because it is mass results for little effort. (I.e., they only need to figure out once how to spam a single phpBB install, then can literally do 1000's in seconds). This includes common 'captcha' techniques. (So you can even get spammed even if you have captcha). So to circumvent that, since most bb installs are via php, simply do this. 1. Create a 'challenge-response' question. I.e., like "What is 5+5?" 2. Add an extra field where a user signs up (or makes a post), something like "Secret Answer". So your HTML would be something like: <input type=textbox name=secretanswer></text> 3. Then, (this requires a 'little' bit of programming, so if you don't know how, get a friend to do it for you). Simply go in the php code, find out where the 'post' is made, and then add a line like this: if($_REQUEST["secretanswer"]!="10") { echo "Wrong Answer! Please try again!"; exit; } And voila! No more spam! Most spammers won't bother to actually visit your site and reprogram their software to answer '10' to your question, so now for the most part you just have real humans! |
| | |
| | #2 |
| Marxist (Groucho) War Room Member Join Date: Nov 2005 Location: Seattle, WA, USA.
Posts: 4,626
Blog Entries: 1 Thanks: 754
Thanked 1,485 Times in 703 Posts
| |
|
I Have Cancer: Read The Story and Donate If You Can | Other Ways You Can Help: 1. Make a Pledge to Mark Andrews' 10-Mile Christmas Row 2. Get the Crazy 8 Copywriting Seminar Recording 3. Buy the All-Star WSO -- just click below: ![]() ==> JazzPro.org -- Watch Jazz Videos for Free <== | |
| | |
| | #3 |
| Advanced Warrior War Room Member Join Date: Dec 2008
Posts: 822
Thanks: 257
Thanked 74 Times in 64 Posts
| |
| | |
![]() |
|
| Tags |
| board, bullentin, easy, free, spam, stop |
| Thread Tools | |
| |
![]() |