PHP Classes

PHP CAPTCHA with Refresh: Generate CAPTCHA validation images

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 3,164 All time: 1,134 This week: 61Up
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: 164 Up16 in India India Up
Innovation award
Innovation award
Nominee: 1x

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

  Files folder image Files (8)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,164
This week:0
All time:1,134
This week:61Up
User Ratings User Comments (5)
 All time
Utility:78%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2304
 
Not sure why you use PHP and put the verification code in ses...
10 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