Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (17) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2009-08-26 (7 years ago) | Not yet rated by the users | Total: 863 | All time: 3,893 This week: 1,045 |
Version | License | PHP version | Categories | |||
image_captcha 1.0 | GNU Lesser Genera... | 5.0 | PHP 5, Graphics, Audio, Validation, S... |
Description | Author | |||||||||||||
This class implements CAPTCHA validation using a fixed list of images. |
|
/* * Project: image_captcha A php class for creating captcha images using pictures instead of hard to read text * File: image_captcha.php * Copyright 2009 Jason Clark <mithereal@yahoo.com> * version 1.00 - 08/02/09 * */ This is image_captcha Why this was created: I was unsatisfied with the garbled and hard to read texts of common captchas available, most of the time I either fat fingered the code, missed a space or the galaxy would spew chunks of err. "incorect code". so my answer image_captcha This will pull the images out of a user defined dir and obfuscate them before rendering them to the screen then it will allow the user to select the correct image via a select box or a radio button. This also allows the admin to choose the number of random words or filenames that will appear in the select box or radio field. Thumbnail support is available, in which missing thumbs are automatically generated from larger images and then displayed. Audio support is also provided for the visually impared. typical file structure is as follows [images] -> images to display [images/thumbnails] -> thumbnails of images [words/wordlist.txt] -> the wordlist [audio] -> the names of the audio files, they must match imagenames (without file extension) and have the file extension '.wav'. Donations are much appreciated and go to the unemployment/food to mouth fund!! paypal: mithereal@yahoo.com Usage: Place your images in the images dir. Underscores will be changed to spaces in the selection field. thumbnails support provided/depend via phpThumb, you can download it freely from http://phpthumb.sourceforge.net, place in phpThumb dir. to configure edit image_captcha.php. thumbnails are turned off by default. If you have thumbnails turned on they will be created. Thumbs are created only once. If you change the thumbnail size later, you will want to delete everything in the thumbnails directory for the size change to take effect. This code was inspired by Drew Phillips <drew@drew-phillips.com> creator of securimage |
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
audio (1 file) | ||||
icons (1 file) | ||||
images (6 files, 1 directory) | ||||
phpThumb (1 file) | ||||
words (1 file) | ||||
image_captcha.php | Class | image captcha class | ||
image_play.php | Example | image captcha helper | ||
image_show.php | Example | image captcha helper | ||
index.php | Example | image captcha example | ||
LICENSE.txt | Lic. | LICENSE | ||
README.txt | Doc. | Readme |
Files | / | images |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.