Demo: Philip's Guestbook
Purpose: This script is a captcha script. Its purpose is to defeat spammer's bots that attempt to write several unsolicited advertising postings in guestbooks, forums...
Requirements: You will need PHP installed and have the GD extension enabled.
Copy and save the following code as form.php
in a folder on your webserver.
[Download] (right click -> Save Target As)
Copy and save the following code as captcha.php
in the same folder on your webserver.
[Download] (right click -> Save Target As)
Copy and save the following code as verify.php
in the same folder on your webserver.
[Download] (right click -> Save Target As)
Obviously, this script only generates an image for the captcha and verifies it. You will want to integrate this feature into already-existing scripts to obtain its functionality. Enjoy!
Note: This script calls for the captcha image with a random number placed in the query
string. This number is then calculated mathematically to generate the number used for the captcha (hence its
usefulness). The number in the query string is not the number shown in the image.
This script has
already been successfully used to defeat hundreds of bot submissions!
Note: You use this script at your own risk!
Bugs, comments, questions? Contact Me