Jump to content

Alternate Captchas


bradleyberger

Recommended Posts

Hi guys, first time posting!

 

Im trying to come up with new captcha ideas, I'm considering having the form either have a checkbox or radio buttons that say "I am a human".  Has anyone here tried this?  Did you get spam?  If I were to do something like this, do you think it might help if the labels for the radio buttons were opposite to the values and then the the form could only be submitted if you clicked (value of) robot.  Like this.

<label>Human</label>
<input type="radio" value="robot">

<label>Robot</label>
<input type="radio" value="human" checked>

<?php if($spam_check === "human") {$error .= "no robots allowed"}

Do you think something like this would trick most spam bots?

Link to comment
https://forums.phpfreaks.com/topic/282168-alternate-captchas/
Share on other sites

One alternative is to use a hidden form field as a honeypot for bots. This field can be filled using an appropriate value from Javascript, or it can just be left blank. Either way, if the value isn't what you expect, then you can treat the submission as spam. This won't stop bots that are specifically targeting your site, but it will stop most of the common spam bots that just see a form and fill it out.

Link to comment
https://forums.phpfreaks.com/topic/282168-alternate-captchas/#findComment-1449670
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.