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.
If all you want is to insert a CAPTCHA test into your feedback form, and don't really want to muck around with writing your own PHP code, you may want to consider using thesitewizard.com's Free Feedback Form Wizard which has a facility to easily add a CAPTCHA test without your needing any programming knowledge. It's free and has no ads or anything like that.
Related Pages
- How to Start / Create Your Own Website: The Beginner's A-Z Guide
- 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
- 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
- Cryptographp

This is a standard CAPTCHA PHP script that displays a series of characters that your visitors must enter in order to successfully submit your form. You can choose from a selection of background images for your CAPTCHA test or set up the script to use random background images. The site also has a couple of WordPress plugins for those using that blogging platform.
- 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. 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)
- How to Accept Credit Cards on Your Website
- Budget Web Hosting
Can't Find What You're Looking For?
Newest Pages
- How to Make the Meta Tags for Your Website into an Editable Region in a Dreamweaver Template
- Free / Open Source Non-SQL Database Servers and Engines
- How to Create Bulleted Lists (Unordered Lists) for Your Web Page with KompoZer
- Free Royalty Free Music and Sounds
- How to Point Multiple Domain Names to One Website: And How to Avoid Search Engine Problems When Doing So
- Free Programmer's Fonts
- The Decline and Fall of Internet Explorer 6: Implications for Webmasters
- How to Point a Domain Name to Your Website (Or What to Do After Buying Your Domain Name)
- Should You Choose a Linux or a Windows Web Hosting Package? Is There Such a Thing as a Mac Web Host?
- What Does It Mean to Park a Domain Name? Domain Name Parking Explained
- How to Add a CAPTCHA Test to Your Feedback Form Script: Reducing Spam in Your Contact Form
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 Website with Dreamweaver CS4 (Dreamweaver Tutorial)
- 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 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:
