PHP Classes

Class CAPTCHA: Generate image with text for CAPTCHA validation

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 40%Total: 1,431 All time: 2,730 This week: 455Up
Version License PHP version Categories
class-captcha 1.0.1GNU General Publi...5.0PHP 5, Graphics, Validation, Security
Description 

Author

This class can be used to generate an image with text for CAPTCHA validation.

It can render an image with a given number of random characters. The random text is stored in a session variable for posterior validation.

The image size, text font, background color and image are configurable details.

Picture of Lukasz Socha
Name: Lukasz Socha <contact>
Classes: 2 packages by
Country: Poland Poland
Age: 33
All time rank: 159440 in Poland Poland
Week rank: 180 Up1 in Poland Poland Up

Screenshots (1)  
  • captcha
  Files folder image Files (3)  
File Role Description
Plain text file class.captcha.php Class It includes a class source.
Plain text file example.php Example example

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:1,431
This week:0
All time:2,730
This week:455Up
User Ratings User Comments (2)
 All time
Utility:56%StarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3824
 
if($_SESSION['token']==$_POST['token']) Troszke amatorsko p...
14 years ago (damiancloud85)
55%StarStarStar
this is a good and useful class .
14 years ago (José Filipe Lopes Santos)
70%StarStarStarStar