Documentation - Image Verification Class
Public Functions
gd_verification ()
Constructor function, defines some parameters to generate image.
geraString()
Generate a random string, and store in a session.
geraImagem()
Show the generated image.
mostraInput($mostra,$extra)
Show input text to type code of image. $mostra defines if the input will be showed on screen (default) or returned in a variable. $extra defines extra parameters to input text.
leCodigos()
Read the typed code and generated string.
comparacaoCaseOn()
Comparison case-sensitive between typed strind and generated string. Return true or false
comparacaoCaseOff()
Comparison case-insensitive between typed strind and generated string. Return true or false
comparaCodigos()
Verifies if comparison is case-sensitive ou case-insensitive, and execute the comparison.
More information, mail-me on julioromano@bol.com.br
|