Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Random antispam question Quiz- anyone know of a script

I don't know the correct term, I don't want image captcha, I want Q & A



11:11 pm on May 16, 2010 (gmt 0)

10+ Year Member

Hi all

I basically want an anti spam question that changes everytime, however every time i go looking for a script i keep ending up with image captcha scripts, is there a specific term for the question and answer scripts?

I'd also like if possible (but not essential) to see a tutorial on writing one, so i know how they work.

Any help would be much appreciated


10:22 am on May 17, 2010 (gmt 0)

WebmasterWorld Senior Member sgt_kickaxe is a WebmasterWorld Top Contributor of All Time 5+ Year Member

The best anti-spam protection comes from not being the same as every other site running the same software.

Add one text box that says "enter the 4th letter of this domain name here" and another textbox with a hidden attribute that automatically bans anything/anyone who adds anything in the box while registering. Those two combined will block most bots though it will fail if the bot is monitored by a human.

The exact code will vary by software type, you didn't mention what you're running.


10:28 am on May 17, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

you could look at a few that have been written for open-source stuff like wordpress and phpbb forums, and deconstruct them.
have a look through phpbb's MOD directory, or the wordpress plugin directory. there's loads of php CAPTCHAs in there.


9:09 pm on May 17, 2010 (gmt 0)

10+ Year Member

Thanks guys, thats exactly what i have done, i have a hidden field, and i found one and deconstructed it and rebuilt it for my purposes.

Thanks very much

Featured Threads

Hot Threads This Week

Hot Threads This Month