oxCaptcha Class Reference
List of all members.
Detailed Description
Class handling CAPTCHA image This class requires utility file utils/verificationimg.php as image generator
Definition at line 8 of file oxcaptcha.php.
Member Function Documentation
oxCaptcha.getHash |
( |
$ |
sText = null |
) |
|
Returns text hash
- Parameters:
-
| string | $sText User supplie text |
- Returns:
- string
Definition at line 55 of file oxcaptcha.php.
oxCaptcha.getImageUrl |
( |
|
) |
|
Returns url to CAPTCHA image generator.
- Returns:
- string
Definition at line 71 of file oxcaptcha.php.
oxCaptcha.isImageVisible |
( |
|
) |
|
Checks if image could be generated
- Returns:
- bool
Definition at line 84 of file oxcaptcha.php.
oxCaptcha.pass |
( |
$ |
sMac, |
|
|
$ |
sMacHash | |
|
) |
| | |
Verifies captcha input vs supplied hash. Returns true on success.
- Parameters:
-
| string | $sMac User supplie text |
| string | $sMacHash Generated hash |
- Returns:
- bool
Definition at line 97 of file oxcaptcha.php.
Member Data Documentation
oxCaptcha.$_dMacLength = 5 [protected] |
oxCaptcha.$_sMacChars = 'abcdefghijkmnpqrstuvwxyz23456789' [private] |
oxCaptcha.$_sText = null [protected] |
The documentation for this class was generated from the following file: