PHP Classes

CAPTCHA Generator: Generate an image for CAPTCHA validation

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 879 All time: 3,991 This week: 221Up
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: 46
All time rank: 2512342 in United States United States
Week rank: 553 Up60 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  
This week:0
All time:3,991
This week:221Up
User Comments (1)
Perfect! :-)
11 years ago (MadiGabi)