News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
Codewalkers.com:
Creating a CAPTCHA with PHP
June 07, 2006 @ 05:58:57

Codewalkers.com has a new tutorial posted today showing the creation of a CAPTCHA image with PHP.

You may be thinking just exactly what is a captcha? Well you are likely to have already seen them across the web. They are those little images with a code on the front that you type into a box in order to submit something. This kind of system helps to prevent automatic submitting of an operation by some kind of program or robot. In this tutorial I will show you how to make a CAPTCHA [just like the one below]. Its not the most advanced captcha available because it uses a simple system font and nothing more.

They start with a look at how CAPTCHAs work before even looking at the code. The next steps include the creation of the random string of characters and placing them in the image (with a standard background in this case). The image is built with the GD functionality in PHP. Finally, they add the functionality in, checking a session variable, to ensure that the user has inputted the text from the image correctly.

2 comments voice your opinion now!
captcha tutorial image gd session png captcha tutorial image gd session png



remove Desktop Security 2010
Desktop Security 2010 is the new antivirus software which is created according to the up-to-date requirements of computer protection. The main aim of this product is to make your computer usage efficient and secure. Multilevel protection of the Desktop Security 2010 antivirus will provide your data integrity and safety, and master components of the program will prevent computer from infection and hack attacks. Special attention is devoted to the network and internet connections security because it is the most probable way of virus intrusion.
1. For me it became a rescuer after a serious virus infection of my pc. Kaspersky antivirus didn't cure viruses, and NOD antivirus did not even detect them. Desktop Security 2010 detected all the viruses very quickly and suggested to cure them. On the whole for now it has been working at my pc for a couple of months as the main antivirus, I don't have any problems with viruses, just sometimes while surfing the web I get messages about attempting intrusions which my Desktop Security 2010 blocks. I am very satisfied with its work.
2. Earlier I did not consider anything except for NOD antivirus. But recently I've been recovering my data for hours after virus intrusion to my computer, and this case happened several times. I understood that I needed to look for something new because my NOD antivirus became too choosy. Kaspersky antivirus is not a variant for me - each computer with a core duo processor hardly works with it. Dr Web is rather old-fashioned. I heard good recommendations about Desktop Security 2010 - and installed it, and it even cured a few viruses after NOD antivirus. Now I just never remind of my problems with viruses.
3. I think that it is one of the best anti-viruses, at least for me - it provides user-friendly menu, easy settings, it doesn't slow down my pc and its visual environment looks nice. It's a pretty good antivirus.
download Desktop Security 2010
virus Desktop Security 2010
antivirus Desktop Security 2010
trojan Desktop Security 2010
remove Desktop Security 2010
buy Desktop Security 2010
cheap Desktop Security 2010


Similar Posts

DevShed: Implementing Destructors with Multiple Objects in PHP 5

Utah PHP Users Group: PHP-CAPTCHA

DevShed: Using Static Methods to Validate Data with Helpers in PHP 5

Arnold Daniels' Blog: How I PHP: The Output Handler

Symfony-Zone: HelloWorld example with Flex and Symfony


Community Events









Don't see your event here?
Let us know!


zend doctrine framework developer conference symfony security drupal wordpress phpunit job microsoft opinion codeigniter facebook zendframework extension release database windows

All content copyright, 2010 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework