PHP Classes

PHP CAPTCHA with Refresh: Generate CAPTCHA validation images

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 3,163 All time: 1,134 This week: 107Up
Version License PHP version Categories
captcha_refresh 1.0GNU General Publi...4.0Graphics, Validation
Description 

Author

This class can be used to generate CAPTCHA validation images.

It generates an image with a given width and height display a random validation text with a given length. The generated random text is stored in a session variable for posterior validation.

The generated image is obfuscated by a given background image before being served as the current script output in JPEG format.

Picture of Sanjoy Ganguly
Name: Sanjoy Ganguly <contact>
Classes: 2 packages by
Country: India India
Age: ???
All time rank: 81747 in India India
Week rank: 312 Up22 in India India Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • example_php.png
  Files folder image Files  
File Role Description
Files folder imagecaptcha (7 files)

  Files folder image Files  /  captcha  
File Role Description
  Plain text file ajax_captcha.php Aux. ajax_captcha.php
  Plain text file captcha.class.php Class Captcha Class
  Plain text file captcha.js Data Javascript File
  Plain text file example.php Example Example File
  Image file img.jpg Data Captcha Background Image
  Plain text file php_captcha.php Example Use this script to call the captcha class
  Image file reload_icon.png Icon Refresh Icon

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,163
This week:0
All time:1,134
This week:107Up
User Ratings User Comments (5)
 All time
Utility:78%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2266
 
Not sure why you use PHP and put the verification code in ses...
9 years ago (wualdo romualdo)
17%Star
Good Job
14 years ago (Lukmanul Hakim)
70%StarStarStarStar
Difficult to get sound aspect working
15 years ago (Adam)
67%StarStarStarStar
Nice, clean, simple.
15 years ago (F Philip DeGeorge)
70%StarStarStarStar
Very nice neat little script - great way of doing the Captcha...
15 years ago (Bill Dawes)
62%StarStarStarStar