$method = new \ReCaptcha\RequestMethod\CurlPost();
$verifier = new \ReCaptcha\ReCaptcha($secret, $method);

CurlPost sets the verification URL, POST data and normal certificate checks without assigning an explicit proxy. The PHP process's libcurl environment can select the route.

For an HTTP listener, use https_proxy=http://proxy.example:8080. For a supported SOCKS5 listener with proxy-side DNS, a POSIX launch is:

https_proxy=socks5h://proxy.example:1080 php verify.php

For a permitted public-proxy route to siteverify, the SOCKS5 proxy list provides candidates for the SOCKS5 example. The PHP cURL extension and selected libcurl proxy support must be available. If PHP-FPM or a job worker performs verification, supply its launch environment; exporting elsewhere does not update it.

This covers backend siteverify, not the browser widget or the validity of a verification result.

For an isolated per-verifier policy, use the public RequestMethod interface: submit takes request parameters and returns the response body. A vendor fork's extra CurlPost constructor option is not an official-package input.

ХӀокхунах тера йаззамаш