What is Securimage?
Securimage 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 generating the CAPTCHA images to validating the typed code. Audible codes can be streamed to the browser with Flash for the vision impaired.
- Show an image in just 3 lines of code
- Validate submitted entries in less than 6 lines of code
- Customizable code length, character sets, and Unicode support
- TTF font support
- Easily add background images
- Several security features such as image distortion, random lines, and noise
- Flash button to stream audible codes in WAV format
- Ability to use a word list
- Case sensitive option for added security
- Display alphanumeric captchas, mathematical captchas, or a multi word captcha
- Highly customizable!
Written on May 26th, 2015 by drew
Several recent updates have been made to the Securimage WordPress Plugin. Among the changes are:
- Options to add CAPTCHA to WordPress registration, login, comment, and lost password forms
- Works with BuddyPress registration forms
- Automatic installation of language packs for audio CAPTCHA
- Added a shortcode for displaying Securimage on any WordPress post or page
- General improvements to functionality and appearance
HTML5 audio support with optional Flash fallback is coming soon so mobile devices will be fully supported. If the lame binary is installed on the system, CAPTCHA audio can be converted to MP3 to reduce bandwidth of audio CAPTCHA. Stay tuned for updates.
Securimage 3.5.2 has been released which includes new features and some improvements and fixes.
- Add getCaptchaHtml() method for automatically generating HTML code for forms.
- Add getTimeToSolve() method for telling how long it took for the captcha to be solved (correctly or incorrectly).
- Font ratio can be adjusted manually to fit the text into the image better for smaller images
- Securimage was added to packagist.org.
- The SoX (Swiss Army knife of audio manipulation) binary can be used to effect the audio files dynamically to make them more difficult for bots to solve.
If you use an older version, consider upgrading to 3.5.2, and new users should download 3.5.2.
Written on March 29th, 2013 by drew
Securimage 3.5 has been released which includes a few new features and a number of portability improvements and fixes.
- Database support – Support SQLite3, MySQL, and PostgreSQL via PDO.
- Captcha Ids – Store codes in a database without the need for cookies (should work for all clients). Read more.
- Multi-word captcha – Display captcha images with 2 dictionary words
If you use an older version, consider upgrading to 3.5, and new users should download 3.5.
Written on April 25th, 2012 by drew
A Securimage WordPress Plugin has been released. Installing it will add CAPTCHA protection to all of your site’s WordPress comment forms and help prevent spam. All options are configured from the WordPress settings menu. Check it out on WordPress.org.
Written on April 23rd, 2012 by drew
A new version of Securimage will be released soon. In the mean time, you can grab a copy of 3.2RC2 from GitHub. Download links for the new release candidate are available on the download page.
The new version includes numerous improvements and fixes including:
- Add random “noise” to image captcha
- Static CAPTCHA feature removes the need for PHP sessions (requires SQLite)
- Improved SQLite functionality
- Image and audio CAPTCHA can be used stand-alone (for integrating in 3rd party software platforms)
- Audio CAPTCHA is obfuscated by white-noise and is randomly mixed with background audio
- Improved the functionality and added new options to the CAPTCHA audio Flash button
- Better error detection making installation troubleshooting easier
See the changelog within securimage.php for more details.
The demo page is now using 3.2RC2 so the new CAPTCHA and audio functionality can be seen there. Thank you for using Securimage.
Written on January 20th, 2012 by drew
You can get the new 3.0.2 beta version of Securimage on github.
It addresses the following issues:
- Fixes a bug that could cause a broken image when PHP is running with display_errors turned on.
- Uses a new class for generating WAV files which provides more secure audio and the ability to greatly customize the audio functionality in future versions.
- Fixes a session incompatibility issue that is experienced if you have an active session with a 2.0 version of Securimage and then upgrade to 3.0.
Try the new version on the Securimage Demo Page. Thanks for using Securimge.
Written on October 1st, 2011 by drew
Securimage 3.0 has been released which includes many new features, and fixes a vulnerability with mp3 audio files.
New in Securimage 3.0
- Rewritten for PHP5, version 3.0 is no longer compatible with PHP 4
- Uses only TTF fonts
- Supports case-sensitive captcha codes for added security
- Add namespaces to captchas to support multiple captcha images on a single page
- Added option to show simple math problems instead of alphanumeric codes
- Updated to stream wav files for audible captchas
- Added new noise option for added security
- Updated license to BSD License
Head to the download page to get the new version now or browse the source on GitHub.
Securimage 3.0’s code validation is backwards compatible with previous versions.
Please report any issues, or feature requests using the contact form.
Thank you for supporting Securimage.
Written on April 3rd, 2011 by drew
The documentation page explaining how to customize Securimage has been updated. It explains in depth how to change colors, adjust the difficulty, use a custom font, and more.
Also, a Securimage WordPress plugin for automatically protecting your comment forms is being tested. If you would like to try it, please post a reply or contact me to try it before it is released.
Written on February 27th, 2011 by drew
After some downtime, Securimage is back up and running. Sorry for the problems but the database and most site contents are gone. More content will be coming up shortly and a new version re-written for PHP5 with new features is being tested and will be posted soon.
Thanks for your understanding!