private function ReCaptcha::_submitHTTPGet in Google Captcha 7
Submits an HTTP GET to a reCAPTCHA server.
Parameters
string $path url path to recaptcha server.:
array $data array of parameters to be sent.:
Return value
array response
File
- ReCAPTCHA/
php/ recaptchalib.php, line 91
Class
Code
private function _submitHTTPGet($path, $data) {
$req = $this
->_encodeQS($data);
$response = file_get_contents($path . $req);
return $response;
}