Hello to all:
I've been banging my head against the proverbial wall on this (for a few days), and finally thought I'd seek thoughts on it. I have an existing submission form that has been getting hit by bots, so I'm adding a CAPTCHA to it. The entire solution is in 4 files:
- HTML form
- PHP file generating 5 alphanumeric code to display as img in HTML
- AJAX file to control/pass back values
PHP file for comparing CAPTCHA challenge and response
What I'd like to do is have the system submit the form after it confirms the challenge is accepted. I had this implemented in the AJAX when the session is Updated, but it works regardless as to how the user answers the challenge. Any recommendations or nudges in the right direction would be greatly appreciated. I did another instance of this in just html/js, but the CAPTCHA image shows as text and not img, hence not being a viable solution.