Technical Docs

Search Documentation

Function: recaptcha_check_answer

Calls an HTTP POST function to verify if the user’s guess was correct

Located at vendor/recaptcha-php/recaptchalib.php (Line: 158)

Parameters summary

(string) $privkey
(string) $remoteip
(string) $challenge
(string) $response
(array) $extra_params an array of extra variables to post to the server

Return value summary

(ReCaptchaResponse)

Examples

ReCaptchaResponse recaptcha_check_answer ( string $privkey, string $remoteip, string $challenge, string $response, array $extra_params = array() )