Simple JavaScript CAPTCHA Generator (Simplified)
Simple gets simplified.
Thanks to El garch and Paul’s comments. Thanks again guys!
Simple gets simplified.
Thanks to El garch and Paul’s comments. Thanks again guys!
© Copyright 2010 - 2012 Thoughts of a Typical Whiner
Domains. Starting at $0.99 per year Register yours today!
Thank you very much !!
you’re welcome.
Hi there,
I haven’t tried implementing this yet, but would it not be easy to get past this by simply turning off JavaScript support in the browser? Would an automated spam bot not be able to get past this because there isn’t a server-side validation check?
Sorry if I am missing something…
Thanks
Hi Paul,
yes, you’re correct. I just tested it with JavaScript turned off and it went through.
But you can add a short PHP (if you’re using PHP) server-side validation after the form submits. Btw, this is just to show that it is possible to do a short and simple captcha generator in JS rather than creating a long PHP code.
Anyways, thanks so much for your comment. With this I realized that it’s easy to bypass the form validation. I will try to create a PHP server-side validation soon.
very useful!!!thanks…
you’re welcome
hey you know what would be great?
if this script actually did something other than just reload the captcha.
Like maybe… send an email?
That would be awesome…
yeah, great idea.. will code it very soon.. just need to finish some tasks…
Hey guys. here it is http://typicalwhiner.com/477/simple-javascript-captcha-generator-v3/
Hey!
Thanks for this, super easy to implement, and makes the simple bot spam go away.
no worries.. glad you find it helpful..