PHP Classes

Pure PHP CAPTCHA: Generate CAPTCHA images without using GD extension

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 775 All time: 4,365 This week: 284Up
Version License PHP version Categories
pure-captcha 1.0GNU Lesser Genera...4.0PHP 5, Graphics, Validation


This class can Generate CAPTCHA images without using GD extension.

It extends the PureTextRender class to generate an image with a random text with a given length.

The text in the image is scaled, rotated, and distorted to make it more difficult for automated scripts recognized the text.

The class returns the rendered text string for posterior validation.

The base class generates the image as the current script output in pure PHP, i.e. without using GD or any other PHP extensions to generate images.

Picture of Abius X
  Performance   Level  
Name: Abius X is available for providing paid consulting. Contact Abius X .
Classes: 4 packages by
Country: Iran Iran
Age: 35
All time rank: 115110 in Iran Iran
Week rank: 213 Up4 in Iran Iran Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file pure_captcha.php Class PureCaptcha class
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Image file screenshot1.bmp Output sample generated CAPTCHA
Accessible without login Image file screenshot2.bmp Output sample generated CAPTCHA
Accessible without login Image file screenshot3.bmp Output sample generated CAPTCHA

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,365
This week:284Up
User Ratings User Comments (2)
 All time
not found PureTextRender
8 years ago (hassan ahmadi)
Thats a good and useful class ;-)
8 years ago (Josť Filipe Lopes Santos)