PHP Classes

CAPTCHA Generator: Generate an image for CAPTCHA validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-06-02 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 855 All time: 3,802 This week: 1,271Up
Version License PHP version Categories  
captcha-generator 1.0.0GNU General Publi...5PHP 5, Graphics, Validation, Security
Description Author  

This class can generate an image for CAPTCHA validation.

It can generate an image with a validation text made of random letters.

The validation text is hashed and can be stored in a session variable for subsequent validation.

The image is obfuscated by more random texts rendered behind the validation text.

The generated image is served as the current script output in JPEG format.

The class can also generate HTML to display the image on the validation Web page.

Picture of Pastor Bones
Name: Pastor Bones <contact>
Classes: 1 package by
Country: United States United States
Age: 38
All time rank: 2339291 in United States United States
Week rank: 1888 Up218 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file captcha.class.php Class Class file
Plain text file captchaImg.php Aux. Class support file
Plain text file captchaTest.php Example example file
Image file captcha_Screenshot.jpg Screen screenshot of generated captcha image

 Version Control Unique User Downloads Download Rankings  
 0%Total:855All time:3,802
 This week:0This week:1,271Up
 User Comments (1)  
Perfect! :-)
3 years ago (MadiGabi)