Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.