Jump to content

Recommended Posts

Good morning,

 

I have a captcha on my website but for some reason within the last day everytime the page loads it automatically focuses on the captcha input field.

 

I've found a couple things on the net of someone with the same issue but I can't seem to resolve it.

 

Captcha is an ugly little thing anyway and wondered if there are any alternatives out there? I've seen forms asking to find the sum of 2 numbers but not sure how secure that is from bots.

 

Thank you very much for your time.

 

Kind regards,

L2c

Link to comment
https://forums.phpfreaks.com/topic/288038-alternative-to-a-captcharecaptcha/
Share on other sites

Personally, I use a simple math question, and I don't get any spam form submissions any more.

 

Sure, it could easily be beaten by a bot that is written to specifically look for it, but for most bots, they don't seem to bother going to the trouble.

 

I ask a question of, for example, 4 + nine (making sure one of the numbers is in written form).

 

I hate captchas, so there was no way I was ever going to put one on my website.

 

Another option that I've considered using is adding another form field, which you hide using CSS. This means normal users won't be able to see it, but a bot will see it, and fill it in. If it's filled in, then you know that it wasn't submitted by a human.

 

Seems like a neat idea.

Edited by denno020

Hi Denno,

 

Thanks for the reply and advice.

 

So it wouldn't actually be an <input> with the type of hidden but an <input> with the type of text with a CSS declaration of display:none?

 

I've just used that technique but used an <input> with type hidden. 

 

I suppose it would have to be of type text in order for a bot to be able to fill it in? Not sure how bots work!

 

Kind regards,

Tom

Hi Denno,

 

Thanks for the reply and advice.

 

So it wouldn't actually be an <input> with the type of hidden but an <input> with the type of text with a CSS declaration of display:none?

 

I've just used that technique but used an <input> with type hidden. 

 

I suppose it would have to be of type text in order for a bot to be able to fill it in? Not sure how bots work!

 

Kind regards,

Tom

Correct

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.