Login   Register  
PHP Classes
elePHPant
Icontem

Captcha to download: Show and check CAPTCHA images to protect downloads

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 (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-10-07 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 505 This week: 1All time: 5,277 This week: 1,319Up
Version License PHP version Categories  
captcha-to-download 1.0.0GNU General Public Lice...5.0PHP 5, Graphics, Validation, Security
Description Author  

This class can show and check CAPTCHA images eventually to protect downloads.

It can generate an image with random text characters rendered on top of a random background image.

The text is stored in a session variable for subsequent validation.

The generated image is served as the current script output in PNG format.

The class can also check if the user entered text matches the text rendered on the CAPTCHA image.

Picture of Zehair
Name: Zehair <contact>
Classes: 1 package by
Country: France France
Age: 25
All time rank: 293281 in France France
Week rank: 1043 Up33 in France France Up

  Files folder image Files  
File Role Description
Files folder imagejs (2 files)
Files folder imagephp (2 files)
Files folder imagestyle (1 file, 1 directory)
Accessible without login Plain text file index.html Data This is the index page

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file dsscript.js Data Jquery script
  Accessible without login Plain text file jquery.lib.js Data Jquery lib

  Files folder image Files  /  php  
File Role Description
  Accessible without login Plain text file ajax.php Example This is the script file
  Plain text file captcha.class.php Class this is the class

  Files folder image Files  /  style  
File Role Description
Files folder imageimg (6 files)
  Accessible without login Plain text file dsstyle.css Data The css file

  Files folder image Files  /  style  /  img  
File Role Description
  Accessible without login Image file 1.png Photo background 1
  Accessible without login Image file 2.png Photo Bg 2
  Accessible without login Image file 3.png Photo bg 3
  Accessible without login Image file bg.png Photo bg
  Accessible without login Image file error.png Photo error
  Accessible without login Image file Refresh.png Photo Refresh

 Version Control Unique User Downloads Download Rankings  
 0%Total:505All time:5,277
 This week:1This week:1,319Up
 User Comments (1)  
 
This is what I was looking for.
2 years ago (Zed)
70%StarStarStarStar