[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
This is a PHP library that handles calling reCAPTCHA.
Copyright: | Copyright (c) 2015, Google Inc. |
File Size: | 97 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ReCaptcha:: (2 methods):
__construct()
verify()
__construct($secret, RequestMethod $requestMethod = null) X-Ref |
Create a configured instance to use the reCAPTCHA service. param: string $secret shared secret between site and reCAPTCHA server. param: RequestMethod $requestMethod method used to send the request. Defaults to POST. |
verify($response, $remoteIp = null) X-Ref |
Calls the reCAPTCHA siteverify API to verify whether the user passes CAPTCHA test. param: string $response The value of 'g-recaptcha-response' in the submitted form. param: string $remoteIp The end user's IP address. return: Response Response from the service. |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |