Definition at line 8 of file oxcaptcha.php.
Public Member Functions | |
getText () | |
getHash ($sText=null) | |
getImageUrl () | |
isImageVisible () | |
pass ($sMac, $sMacHash) | |
Protected Attributes | |
$_dMacLength = 5 | |
$_sText = null | |
Private Attributes | |
$_sMacChars = 'abcdefghijkmnpqrstuvwxyz23456789' |
oxCaptcha.getText | ( | ) |
oxCaptcha.getHash | ( | $ | sText = null |
) |
Returns text hash
string | $sText User supplie text |
Definition at line 55 of file oxcaptcha.php.
oxCaptcha.getImageUrl | ( | ) |
oxCaptcha.isImageVisible | ( | ) |
oxCaptcha.pass | ( | $ | sMac, | |
$ | sMacHash | |||
) |
Verifies captcha input vs supplied hash. Returns true on success.
string | $sMac User supplie text | |
string | $sMacHash Generated hash |
Definition at line 97 of file oxcaptcha.php.
oxCaptcha.$_dMacLength = 5 [protected] |
Definition at line 15 of file oxcaptcha.php.
oxCaptcha.$_sText = null [protected] |
Definition at line 22 of file oxcaptcha.php.
oxCaptcha.$_sMacChars = 'abcdefghijkmnpqrstuvwxyz23456789' [private] |
Definition at line 29 of file oxcaptcha.php.