Error: Could not fetch http://thedevnet.com/wp-content/plugins/gd-star-rating/css/gdsr.css.php?t=0&s=a10i10m20k20c05r05%23121620243046%23121620243240%23s1pchristmas%23s1pcrystal%23s1pdarkness%23s1poxygen%23s1goxygen_gif%23s1pplain%23s1ppumpkin%23s1psoft%23s1pstarrating%23s1pstarscape%23t1pclassical%23t1pstarrating%23t1gstarrating_gif&ver=1.7.2 for caching. You might need to exclude this file in WP Minify options. The Developer Network – Image Captcha Spam Prevention

Image Captcha Spam Prevention

This is an open-source free PHP CAPTCHA script for generating complex images and CAPTCHA codes to protect forms from spam and abuse. It can be easily added into existing forms on your website to provide protection from spam bots. It can run on most any webserver as long as you have PHP installed, and GD support within PHP. Securimage does everything from generate complicated CAPTCHA images to making sure the code the user entered was correct.

Features:

  • Only 3 lines of code to show an image
  • Validate entries within 6 lines of code
  • Customizable code length
  • Choose the character set
  • TTF font support
  • Use custom GD fonts when TTF is not available
  • Easily add background images
  • Multi colored, angled, and transparent text options
  • Arched lines through text
  • Generates audible CAPTCHA files in wav format
  • Use a word list for creating CAPTCHA codes

Step 1 (place the captcha image in your form):

  1. <img id="captcha" src="securimage/securimage_show.php" alt="CAPTCHA Image" />

Step 2 (insert text field into your form):

  1. <input type="text" name="captcha_code" size="10" maxlength="6" />

Step 3 (optional: adds dynamic reload of captcha image):

  1. <a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false">Reload Image</a>

Step 4 (put into your form processing page):

  1. <?
  2.  // include captcha class and create object
  3.  // http://thedevnet.com/php/classes/image-captcha-spam-prevention/
  4.  @ob_start();
  5.  @session_start();
  6.  include_once('securimage/securimage.php');
  7.  $securimage = new Securimage();
  8. ?>

Final Step (verify captcha in form processing page):

  1. <?
  2.  if ($securimage->check($_POST['captcha_code']) == false) {
  3.   // put your code in here for failed captcha
  4.  }
  5. ?>
securimg.zip
securimage.zip
Version: 1.0.3.1

68.1 KiB
9 Downloads
Details…


audio.zip
audio.zip
Version: 1.0

628.4 KiB
4 Downloads
Details…
Sample Words
words.zip
Version: 1.0

980.0 B
5 Downloads
Details…
GD Star Rating
loading...

Originally posted 2009-10-19 11:10:30.

Popularity: 9%

Posted by natster   @   19 August 2010

Related Posts

Like this post? Share it!

RSS Digg Twitter StumbleUpon Delicious Technorati Facebook

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

You must be logged in to post a comment.

Previous Post
« Snoopy PHP Net Client
Next Post
Trim Excess Whitespace »
Powered by Wordpress   |   Lunated designed by ZenVerse