php - reCAPTCHA - JSON form -
i have form validated via jquery, ajaxed php file send email.
however, due lot of spamming require recaptcha in place. have registered http://www.google.com/recaptcha.
now have no clue how implement it. able ajax php file , response of either "correct" or "incorrect" display appropriate message via jquery.
so far have managed recaptcha displaying using code:
<script type="text/javascript" src="http://api.recaptcha.net/challenge?k=public_keyvz"></script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=public_key" height="300" width="500" frameborder="0"></iframe> <textarea name="recaptcha_challenge_field" rows="3" cols="40"> </textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"> </noscript>
now not know go here. new recaptcha stuff please specific me. lot!
it laid out in incredibly specific detail in documentation.
http://code.google.com/apis/recaptcha/docs/php.html
get working first, start messing doing in jquery , ajax. you're not close @ moment. , doubt if going write you.
as usual... google has lots of answers, , so:
http://snipplr.com/view/15563/jquery-validating-recaptcha-with-ajax/
php - question using recaptcha jquery
Comments
Post a Comment