Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

domingo, 31 de mayo de 2015

reCaptcha v2 server side integration help ...Currently I can click send and the form will send without being verified...

Hi Please help.... Ive wasted a weekend so far on what appears should be an easy thing to do.. When I google all I see are copied examples I don't understand why so many webpages have copied content from Google's own reCaptcha VERSION 2 guide http://bit.ly/1HX5sf3 is the easy bit,  but no one can help with server side php forms. I've basically a html form which has worked for years which posts to a php file see example below: Ive Pasted this snippet before the closing tag on my HTML template:and Pasted this snippet at the end of the
where the reCAPTCHA widget to appears:
Below is an example of the form                               Message*:
            
                
 But where below in my php form do I add the verfication code? Currently I can click send and the form will send without being verfied... Please help.. Thanks Mark You did not press the submit button; this page should not be accessed directly.

");     } if( isset($_POST['submit'])) { $recipient = "myemail@gmail.com";     $title = "Contact Form";     $message .= "Name: {$_POST['name']} \n";     $message .= "Email: {$_POST['email']} \n";     $message .= "Phone Number: {$_POST['phone_number']} \n";      $message .= "Their message: {$_POST['message']} \n";     $headers .= "Reply-To: $email";         $headers = "From: $email"; mail($recipient,$title,$message,$headers);        echo "";        unset($_SESSION['security_code']);     } else {        echo ""; } ?>  -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/P65DvS.

No hay comentarios:

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn