PHP Classes

Oziam Captcha: Generate images for CAPTCHA validation

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 297 This week: 1All time: 7,439 This week: 560Up
Version License PHP version Categories
oziam-captcha 1.0Freeware5.0PHP 5, Graphics, Security
Description 

Author

This class can be used to generate images for CAPTCHA validation.

It can generate an image with a random text obfuscated by a noise background image and random ellipse shapes.

The image text is stored in a session variable for posterior validation.

Picture of Dwayne Rothe
Name: Dwayne Rothe <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 57
All time rank: 167925 in Australia Australia
Week rank: 411 Up3 in Australia Australia Up

Details

### Oziam Captcha Class by Dwayne Rothe ### ########################################### This class is a simple captcha class to make sure your emails are coming from real people and not bots. This is a quite simple class with minimal code and overhead, you can customize just about everything very easily by editing the captcha_class.php file giving you a totally unique captcha image with refresh capabilities. You can edit the background image which supports gif, jpg and png files, font type, text size, text colour, text skew/angle, text length(number of characters) and even add random dots to the background(optional). This file includes everything you need to implement it into any website form using php including a simple example form to get you going. ### Installation and Testing ### ================================ Upload everything in this folder(except example images) to your server in binary mode. Navigate to the example.php page, you should see the contact form, now you can test it with different backgrounds and fonts etc... When you are ready to use on your site just copy the relevant form fields and code to your contact form. Please note: This file should include example.php file, 2 example images, captcha folder containing 3 background images, jokerman.ttf font file and captcha_class.php class file. Sometimes the font file will be removed by file repositories, in the event of that happening you will have to add your own font file to the captcha folder, we recommend jokerman.ttf as this looks quite unique with its jaggered type letters. ### Troubleshooting ### ======================= If all you see is a blank image placeholder, check the background image and the font file are included in the captcha folder and that the path is correct relevant to the captcha_class.php file. Have Fun! If you would like me to see your form in action or you cannot find the jokerman font send me an email!! Cheers!!!

Screenshots  
  • oziam_captcha_screenshot.jpg
  Files folder image Files  
File Role Description
Files folder imagecaptcha (4 files)
Plain text file example.php Example Example Captcha Form
Image file paint_dots_example.bmp Output Example captcha image
Image file paint_example.bmp Output Example captcha image
Plain text file readme.txt Doc. Readme file

  Files folder image Files  /  captcha  
File Role Description
  Image file blank_bg.jpg Photo Background Image
  Plain text file captcha_class.php Class Captcha Class
  Image file paint_bg.jpg Photo Background Image
  Image file violet_bg.jpg Photo Background Image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:297
This week:1
All time:7,439
This week:560Up