Login   Register  
PHP Classes
elePHPant
Icontem

File: documentation.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julio Romano  >  Image Verification  >  documentation.txt  >  Download  
File: documentation.txt
Role: Documentation
Content type: text/plain
Description: Documentation of class
Class: Image Verification
Generate and verify CAPTCHA validation images
Author: By
Last change:
Date: 8 years ago
Size: 929 bytes
 

Contents

Class file image Download
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