You are here

constant SocketPost::RECAPTCHA_HOST in reCAPTCHA 6.2

reCAPTCHA service host. @const string

File

recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php, line 43

Class

SocketPost
Sends a POST request to the reCAPTCHA service, but makes use of fsockopen() instead of get_file_contents(). This is to account for people who may be on servers where allow_furl_open is disabled.

Namespace

ReCaptcha\RequestMethod

Code

const RECAPTCHA_HOST = 'www.google.com';