I made a Free Contact Form PHP Script with image captcha
It includes a captcha with audio and a refresh feature.
You can see my contact form here
http://www.642weather.com/weather/contact_us.phpFeatures:Tested code (has been running on several sites for several months with no problems)
XHTML Transitional compliant
Reloads form data and warns user if user forgets to fill out a field.
No need to press back button.
Optional redirect to home page after message sent
Validates syntax of email address (user@aol = bad,
user@aol.com = good)
Use as a standalone page or incorporate into your site template
It can run on most any webserver as long as you have PHP installed, and GD support within PHP.
(see readme.txt inside the zip for full instructions)
Security:It has very tight security, it stops all the spammer tricks I have found.
Filters all form inputs from html and other nasties.
Spamchecks email address input from common spammer tactics...
prevents spammer forcing to:, cc:, bcc:, newlines, and other email injection attempts to spam the world
Make sure the form was posted from your approved host name only. (enable or disable with a setting)
E-mail message shows IP address and user agent (browser version) of user who contacted you
Captcha Image by www.phpcaptcha.org included (enable or disable with a setting)
# open-source free PHP CAPTCHA script
# Abstract background with multi colored, angled, and transparent text
# Arched lines through text
# Generates audible CAPTCHA files in wav format
# refresh button to reload captcha if you cannot read it.
This has been replaced with my new PHP version
Fast Secure Contact Form – PHP Script http://www.fastsecurecontactform.com/download-php-scriptHere is a sample contact email message: (my real ip has been masked for this post)
------------------------
Sent from Long Beach Weather contact form
To: Webmaster
From:
Mike Test
mike@somewebsite.comMessage:
This is a test to show what the email message looks like
Sent from (ip address): 68.118.xxx.xxx (68-118-xxx-xxx.dhcp.xxx.xxx.charter.com)
Coming from (referer):
http://www.642weather.com/weather/contact_us.phpUsing (user agent): Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0