PHP Classes

KCAPTCHA: Generate CAPTCHA validation images with effects

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
StarStarStarStar 65%Total: 4,389 All time: 654 This week: 60Up
Version License PHP version Categories
kcaptcha 1.2.6GNU Lesser Genera...4.0.6Graphics, Validation, Security
Description 

Author

This class can be used to generate CAPTCHA validation images with the verification text rendered with distortion.

It generates a random text using a list of allowed characters.

The text is rendered as an image with several effects to distort the characters and make it more difficult to guess by automated programs.

The text is rendered with fonts defined as images in the PNG format. So it does not need any PHP special font engine library extensions.

The generated image is served as the current script output either in JPEG, GIF or PNG formats.

Picture of Sergei Kruglov
Name: Sergei Kruglov <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 47
All time rank: 68220 in Russian Federation Russian Federation
Week rank: 200 Up8 in Russian Federation Russian Federation Up

Screenshots (1)  
  • examples
  Files folder image Files (29)  
File Role Description
Files folder imagefonts (23 files)
Files folder imageutil (1 file)
Plain text file kcaptcha.php Class Main class
Plain text file kcaptcha_config.php Conf. Config
Plain text file index.php Example Using KCAPTCHA class
Plain text file example.php Example Form example

  Files folder image Files (29)  /  fonts  
File Role Description
  Plain text file .htaccess Data Deny HTTP access to fonts folder
  Image file antiqua.png Data font
  Image file baskerville.png Data font
  Image file batang.png Data font
  Image file bookman.png Data font
  Image file calisto.png Data font
  Image file cambria.png Data font
  Image file centaur.png Data font
  Image file century.png Data font
  Image file chaparral.png Data font
  Image file constantia.png Data font
  Image file footlight.png Data font
  Image file garamond.png Data font
  Image file georgia.png Data font
  Image file goudy_old.png Data font
  Image file kozuka.png Data font
  Image file lucida.png Data font
  Image file minion.png Data font
  Image file palatino.png Data font
  Image file perpetua.png Data font
  Image file rockwell.png Data font
  Image file times.png Data font
  Image file warnock.png Data font

  Files folder image Files (29)  /  util  
File Role Description
  Plain text file font_preparer.php Aux. Adds symbols bounds marks to font files

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:4,389
This week:0
All time:654
This week:60Up
User Ratings User Comments (1)
 All time
Utility:95%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:585
 
Super Job.
16 years ago (sajidali)
70%StarStarStarStar