PHP Classes

File: gd_doc.txt

Recommend this page to a friend!
  Classes of Michael Rose   GD Image Verification Class   gd_doc.txt   Download  
File: gd_doc.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: GD Image Verification Class
Generate CAPTCHA verification images for forms
Author: By
Last change: Added function to documentation.
Date: 17 years ago
Size: 647 bytes


Class file image Download
Documentation - GD Image Verification Class Public Functions gd_verification (int height, int width, [, string session_name]) Constructor function, $height and $width set the size of the generated image, $session_name sets the name of the session from the default. output_input_box (string name, string parameters) Returns an input box of the specified name and any additional parameters such as class or style. verify_string (string input) Verifies input against string stored in session variables to determine if input was equal to the string outputted on the image. output_image ( void ) Outputs the generated GD image.