Aug
18
reCAPTCHA Contact Form
This free php contact form makes receiving email or feedback from your visitors much easier. All your visitors have to do is fill out a simple contact form and hit send. Features reCAPTCHA image verification to reduce spam bots from submitting your form.
Requirements
- PHP 5.2+ – http://www.php.net
- reCAPTCHA API Key – http://www.google.com/recaptcha/whyrecaptcha
Installation
- First, you will need to signup for reCAPTCHA API key if you plan on using this feature. This will greatly reduce spam being submitted to your contact form. If you wish to bypass this feature, leave the API settings blank in inc/config.inc.
- Edit inc/config.inc to reflect additional settings such as defining custom emails for selection in the form. This allows you to send emails to different divisions of your organization.
- Upload the script files to your server.
- To modify the appearance of the contact form edit “inc/contact.php”. Just be careful not to destroy any PHP scripting while doing so.
ScreenShots
Download
Tags: contact form, PHP, reCAPTCHA




84 days ago by BRett
thanks for the great form! I look forward to using it.
Does anyone know how to remove the drop down list of people and have it always send to a single person?
83 days ago by fpadmin
In Contact.php look for // Capture send to addy, delete those 6 lines. Go down to // Send it change $ax_mailTo to ‘you@yourname.com’ be sure to leave the single quotes.
Scroll down to the form and remove the block starting with label for=”emailTo”
88 days ago by Amit
This worked GREAT with ME. Maybe the complaints people are getting because it require’s PHP 5.2? I’m no expert.
But great contribution! YOu saved me a bunch of time!
Love it!!!!!!
88 days ago by Brett
does anyone know how to change this code to just send to one person. I don’t need to option for separate people, id like to get rid of that and just have it always send to the same person…. ideas?
thanks!
100 days ago by Bill J.
Any other suggestions to solve the BCC problem?
117 days ago by rob
Any idea what this message means:
Warning: mail() [function.mail]: SMTP server response: 553 sorry, your mail was administratively denied. (#5.7.1) in D:\Hosting\8191488\html\newlifechurch\contact.php on line 107
119 days ago by bdv
I tried to ad my e-mail adress but it doesn’t work and i get an error.
Anyone knows what i’m doing wrong:
// Headers
$headers = ‘From: ‘ . $email . “\r\n” .
‘Reply-To: ‘ . $myemail@myemail.com . “\r\n”;
thanks!
133 days ago by Bill J.
Great contact form with verification. It is definitely a big help for many of us. Can you please share with us how you can add one or more “BCC” email addresses to the form?
Thanks.
128 days ago by fpadmin
In this section:
// Headers
$headers =
‘From: ‘ . $email . “\r\n” .
‘Reply-To: ‘ . $email . “\r\n”;
Add
‘BCC: you@yourdomain.com‘ .”\r\n” .
128 days ago by Bill J.
I tried that but it doesn’t work
73 days ago by Sam
Also, How do I align this form to the left side of the page?
Thnks!