We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47773
    • 30 Posts
    Hi Everyone,
    Am trying to setup the reCaptcha from google on the site.
    have read this link but it didnt help me a lot:- https://developers.google.com/recaptcha/docs/display

    I need step by step guide.. if one is already present then do refer me there... thanks !!!

    PS - i have already got my site key and secret key for my domain.
      • 47773
      • 30 Posts
      somehow managed to get the Curl statements to perform a post...
      Just an Example :-

      $url = 'http://api.flickr.com/services/xmlrpc/';
      $ch = curl_init($url);
      
      curl_setopt($ch, CURLOPT_POST, 1);
      curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
      curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
      
      $response = curl_exec($ch);
      curl_close($ch);



      google page tells me that

      URL: https://www.google.com/recaptcha/api/siteverify

      2 parameters to be passed:-

      secret : "my secret key that google provided me";
      response : The value of 'g-recaptcha-response'.


      Still haven't figured out as to when i will hit the submit button on the page with reCaptcha, how this g-recaptcha-response variable will get loaded with some value ?

      Can anyone solve the puzzle ??