Free PHP CAPTCHA Scripts
PHP Scripts to Generate an Image with Letters / Numbers
Free PHP CAPTCHA Scripts
These free CAPTCHA PHP scripts allow you to add a facility to your web forms to weed out the spam bots (automated programs that submit spam into your email contact forms and other such web forms) from the humans. They typically generate an image with some characters that your visitors have to type before they can successfully submit a form. Some of them also automatically generate an audio file with those characters read aloud for visually impaired visitors.
In general, it is not a trivial operation to modify your scripts to support CAPTCHA, since it usually requires some knowledge of both HTML and PHP. You should also know that CAPTCHA solutions can present accessibility problems to your visitors. For example, visually impaired people may not be able to read your CAPTCHAs, and are thus unable to use your forms. Even if your CAPTCHA has an audio file attached, it will only help those who are not deaf as well. People who are both blind and deaf, who depend on Braille (touch) displays to read your site will neither be able to view your CAPTCHA image nor hear your audio equivalent. In addition, some CAPTCHA scripts generate images are so difficult to read, that even people with normal eyesight have difficulty deciphering what it says. (I'm sure you've encountered such images before too, and have had to reload the page numerous times before you got a sequence of letters and numbers you could enter.)
For the curious, CAPTCHA stands for "Completely Automated Public Turing test to tell Computers and Humans Apart". The acronym is a trademark of Carnegie Mellon University.
Related Pages
- PHP Tutorial: Writing Your First PHP Script: Feedback Form Script
- Free PHP Photo and Image Gallery Scripts
- Free PHP Blogging Software (Scripts)
- Free And Open Source PHP Shopping Carts
- Free PHP Live Chat Scripts
- WordPress Vs Drupal Vs Expression Engine: Which Blog Software Should I Use?
- How to Install and Configure PHP 5 to Run with Apache on Windows
- Budget Web Hosting
- How to Add Google Advertisements (Google AdSense) to Your Blog or Website
Disclaimer
The information provided on this page comes without any warranty whatsoever. Use it at your own risk. Just because a program, book, document or service is listed here or has a good review does not mean that I endorse or approve of the program or of any of its contents. All the other standard disclaimers also apply.
Free CAPTCHA PHP Scripts
- Asirra

Asirra, from Microsoft Research, provides your visitors with a set of pictures of cats and dogs. To prove that they are human, your visitors will have to click the pictures that they think are cats. The service relies on JavaScript to be available on your visitor's browser, which is needed to display the pictures and do some preliminary checking. You will also have to modify your feedback form's PHP code to send the code entered by your visitor to the Asirra servers for checking, and then parse the XML data returned to find out if there was a match.
- Securimage: Free PHP CAPTCHA Script
Securimage generates a complex image and CAPTCHA code for your forms and form-processing scripts. Including this code in your form to mail script and web form allows your script to check if the form submitter is a human or just a spam bot. It requires GD to be installed on your server. The script allows you to customize the length of the CAPTCHA code, choose the character set, use custom GD fonts if TrueType fonts are not available, add background images, create arcs (lines) through text, create multi-coloured, angled and transparent text, generate an audible CAPTCHA file in WAV format for the blind, provide a word list that the script can use, etc.
- PHP reCAPTCHA Library for reCAPTCHA
This PHP CAPTCHA library allows you to integrate a CAPTCHA image into your web forms and form scripts. The library calls an online service known as reCAPTCHA, that takes words from books waiting to be digitized. At the time I checked this service, it shows 2 words, one known and one unknown and asks your visitor to type both. When they do, the server will check the known word to make sure that your form submitter is a human. The other unknown word is added to their database to aid the digitizing of books they scanned. Note that you will need to register with them to use the service.
- FreeCap: PHP CAPTCHA Script
Like the other free CAPTCHA scripts on this page, this script generates a CAPTCHA code for your email forms and other web forms. Besides generating characters for your visitor to enter into the form, it also randomly creates a background image consisting either of grids, squiggles or image blocks probably to confuse robots with optical character reading facilities. The script supports multiple fonts and colours, uses a customizable dictionary, and so on.
- Free CAPTCHA Service
This free CAPTCHA service provides code for you to integrate into your script and form, be it a feedback or contact form or some other type. You will have to register with them for the service to get a key to include into the PHP code.
Related Pages
- How to Make Money From Your Website
- How to Register Your Own Domain Name
- Free and Open Source PHP Wiki Scripts
- How to Prevent Email Injection in Your PHP Form-to-Mail Scripts
- How to Create and Use Cookies in PHP
- Which Web Host Do You Recommend? (FAQ)
- The Beginner's A-Z Guide to Starting/Creating Your Own Website
- How to Accept Credit Cards on Your Website
Can't Find What You're Looking For?
Newest Pages
- How to Prevent Your Images or Text from Going Out of Alignment When Your Visitors Resize Their Web Browsers in Nvu/KompoZer
- Free Online Photo-Sharing and Photo Album Services or Web Hosts
- How to Add Google Advertisements (AdSense) to Your Website Using Dreamweaver
- What is HTML, CSS, JavaScript, PHP and Perl? Do I Need to Learn Them to Create a Website?
- How Much Does It Cost to Set Up a Website?
- How to Centre a DIV Block Using CSS
- Free PHP Encoders, Accelerators and Obfuscators
- Free Find / Delete Duplicate Files Utilities
- How to Slipstream Windows XP Service Pack 3 to Create an Integrated XP Setup Disk with SP 3
- Dreamweaver Tutorial: How to Create a Website with Dreamweaver CS3
Popular Pages
- How to Create/Start Your Own Website: The Beginner's A-Z Guide
- How to Register Your Own Domain Name - how to get your own domain name
- How to Create a Bootable Windows XP Setup CD/DVD on a Preinstalled Windows System
- Free Partitioning Software - Copy, Create, Move, Resize, Convert, Undelete Partitions
- Free Data Recovery, File and Partition Recovery, Undelete and Unformat Software
- How to Create an Emergency Windows Rescue CD
- Free Spyware / Malware Detection, Removal and Prevention Software
- Free DVD Authoring and Creation Software
- Free CD and DVD Burners and Copying Software
- Free Hard Disk Backup and Restore, Hard Disk Image and Cloning Utilities
How to Link to This Page
It will appear on your page as:
