PHP Classes

CAPTCHA Creator: Create images from 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
Not enough user ratingsTotal: 981 All time: 3,708 This week: 104Up
Version License PHP version Categories
captcha-creator 1.0GNU General Publi...5.0PHP 5, Graphics, Libraries, Validation, S...
Description 

Author

This class can be used to create images from CAPTCHA validation.

It can generate a random text with 5 characters from restricted range of characters which is stored in a session variable for posterior verification.

The class creates an image that displays the picked text characters obfuscated with random colored lines. The image size, text font color and background color are configurable parameters.

Picture of subash
Name: subash <contact>
Classes: 2 packages by
Country: India India
Age: 39
All time rank: 146883 in India India
Week rank: 268 Up20 in India India Up

Details

===================================================================================================================== = READ ME = Author : Subash Ps <pssubashps@gmail.com> Descritption : Catcha Generator,case sensitive Version : 1.0 beta ===================================================================================================================== ##################################################################################################################### Usage include class.captcha.php into your application.Create object to that class a call the function named createcaptcha(). This function have three optinal arguments,there are width height font color backgroud color noice width : Captcha image width,by default it is 200 height : Captcha image height,by default it 150 font color : The class define only five diffrent colors,black(0),white(4),red(1),green(2),blue(3) and yellow(5). By default it will take black color.Pass the color code as the argument. backgroud color : The class define only five diffrent colors,black(0),white(4),red(1),green(2),blue(3) and yellow(5). By default it will take white color.Pass the color code as the argument. noice : This is boolean argument.by default it is false.If it is true it will scatter some dotts on the captcha image. ##################################################################################################################### --------------------------------------------------------------------------------------------------------------------- EXAMPLE front end file : displays catpcha <img name = 'cap' src='createcaptcha.php'/> createcapthcha.php : this file helps to customize your captcha require_once 'captch.php'; $captcha = new Captcha(); $captcha->createCaptcha(200,40,5,0,true); --------------------------------------------------------------------------------------------------------------------- ********************************************************************************************************************* Your comments are valuable. Please send your feedback to psssubahsps@gmail.com *********************************************************************************************************************

Screenshots (1)  
  • screenshot
  Files folder image Files (6)  
File Role Description
Files folder imageclasses (1 file)
Files folder imageexample (3 files)
Plain text file readme Doc. Usage Information

  Files folder image Files (6)  /  classes  
File Role Description
  Plain text file class.captcha.php Class Captcha Creator class

  Files folder image Files (6)  /  example  
File Role Description
  Plain text file createcaptcha.php Example Example file
  Plain text file style.css Data style sheet
  Plain text file test.php Example front end file

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:981
This week:0
All time:3,708
This week:104Up