Login   Register  
PHP Classes
elePHPant
Icontem

CAPTCHA with multiple options: Generate image with text for CAPTCHA validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-06-10 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 639 All time: 4,525 This week: 1,463Up
Version License PHP version Categories  
osol-multi-captcha 1GNU General Public Lice...5.0PHP 5, Graphics, Validation, Security
Description Author  

This class can generate image with text for CAPTCHA validation.

It can create an image with random text characters from a given list of characters rendered optionally in a distorted way and noise dots to obfuscate the image.

The generated text is stored in a class variable for subsequent validation.

The image is created with the size automatically adjusted to fit the text.

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

The generated image is stored in a file in either JPEG, PNG or GIF formats.

Picture of Sreekanth Dayanand
Name: Sreekanth Dayanand <contact>
Classes: 2 packages by
Country: India India
Age: ???
All time rank: 2145139 in India India
Week rank: 1677 Up118 in India India Up

  Files folder image Files  
File Role Description
Files folder imageutils (5 files, 1 directory)
Plain text file displayCaptcha.php Example Example script
HTML file index.html Data Sample output
Image file osolMulticaptcha.jpg Screen How it looks
Plain text file OSOLmulticaptcha.php Class Class source
Plain text file previewCaptcha.php Example Unit test script
Image file previewPages.png Screen Preivew without and with TTF/OTF files
Plain text file readme.txt Doc. Documentation
Plain text file testOSOLmulticaptcha.php Aux. Unit test script

  Files folder image Files  /  utils  
File Role Description
Files folder imagettfs (1 file)
  Image file ajax-loader-big.gif Data Auxiliary data
  Image file font-png.png Data Auxiliary data
  Plain text file fontFileMeta.meta Data Auxiliary data
  Plain text file temp.meta Data Auxiliary data
  Image file temp.png Data Auxiliary data

  Files folder image Files  /  utils  /  ttfs  
File Role Description
  HTML file index.html Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 85%Total:639All time:4,525
 This week:0This week:1,463Up