You are here

constant SocketPost::SITE_VERIFY_PATH in reCAPTCHA 6.2

@const string reCAPTCHA service path

File

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

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 SITE_VERIFY_PATH = '/recaptcha/api/siteverify';