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 ??