Curl |
recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php |
Convenience wrapper around the cURL functions to allow mocking. |
CurlPost |
recaptcha-php/src/ReCaptcha/RequestMethod/CurlPost.php |
Sends cURL request to the reCAPTCHA service.
Note: this requires the cURL extension to be enabled in PHP |
CurlPostTest |
recaptcha-php/tests/ReCaptcha/RequestMethod/CurlPostTest.php |
|
Drupal7Post |
src/ReCaptcha/RequestMethod/Drupal7Post.php |
Sends POST requests to the reCAPTCHA service. |
Post |
recaptcha-php/src/ReCaptcha/RequestMethod/Post.php |
Sends POST requests to the reCAPTCHA service. |
PostTest |
recaptcha-php/tests/ReCaptcha/RequestMethod/PostTest.php |
|
Socket |
recaptcha-php/src/ReCaptcha/RequestMethod/Socket.php |
Convenience wrapper around native socket and file functions to allow for
mocking. |
SocketPost |
recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php |
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_url_open is disabled. |
SocketPostTest |
recaptcha-php/tests/ReCaptcha/RequestMethod/SocketPostTest.php |
|