function captcha_validate_strict_equality in CAPTCHA 6.2
Same name and namespace in other branches
- 8 captcha.module \captcha_validate_strict_equality()
- 7 captcha.module \captcha_validate_strict_equality()
CAPTCHA validation function to tests strict equality.
Parameters
$solution the solution of the test.:
$response the response to the test.:
Return value
TRUE when strictly equal, FALSE otherwise.
2 string references to 'captcha_validate_strict_equality'
- captcha_elements in ./
captcha.module - Implementation of hook_elements().
- captcha_validate in ./
captcha.module - CAPTCHA validation handler.
File
- ./
captcha.module, line 467 - This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.
Code
function captcha_validate_strict_equality($solution, $response) {
return $solution === $response;
}