Aug

18

reCAPTCHA Contact Form

Posted by CodeMunkyX

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

Installation

  1. 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.
  2. 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.
  3. Upload the script files to your server.
  4. 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

Free Contact Form

Download now

Tags: , ,

Socialize

22 Responses to reCAPTCHA Contact Form

  1. 54 days ago by lonlyboy

    Haven’t messed with the config too much yet, but is it possible to have the drop down alias actually point to 2 different emails? i.e. you choose “tech support” it sends an eamil to 2 different techs?

  2. 56 days ago by Ferdi

    I get this error:
    could not open socket
    any solutions?

  3. 58 days ago by led ekran

    thnx for sharing

  4. 58 days ago by dony

    otice: Undefined index: uid in D:\xampp\htdocs\tes14\SimpleMember\index.php on line 26

    Notice: Undefined index: pwd in D:\xampp\htdocs\tes14\SimpleMember\index.php on line 27

    Warning: require(/path/to/your/install/SimpleMember/inc/db.php) [function.require]: failed to open stream: No such file or directory in D:\xampp\htdocs\tes14\SimpleMember\main.php on line 37

    Fatal error: require() [function.require]: Failed opening required ‘/path/to/your/install/SimpleMember/inc/db.php’ (include_path=’.;D:\xampp\php\PEAR’) in D:\xampp\htdocs\tes14\SimpleMember\main.php on line 37

    How can I Do?

  5. 83 days ago by Makro Web dizayn

    Thank you for your posting.

  6. 114 days ago by Lisa Hossa

    Thank you very much for the script!
    Everything works completely fine!

    One question:
    Is it possible to prevent users from multiple entries?
    I want to receive only one mail per email address.

    Thanks for your support.

  7. 117 days ago by fost

    Great work.nice code with recaptcha.
    It seem like this code doesnt support contact form send html email

    Do you have idea how to implement html on email output.
    something like table on email.

    how to add new field like
    website url and location?

    thank you

  8. 121 days ago by IwingMusic

    hi CodeMunkyX. wouldn’t it be better to deny access to config.inc?

  9. 176 days ago by Sam

    When I insert this into my contact page it restyles all links and gives them a grey border and change the bg of the page to grey. How can I fix this? Should I put this in an iframe?

    • 176 days ago by Sam

      Also, why can’t I capitalize text in the fields of the form?

      Thanks!

      • 176 days ago by Sam

        Also, How do I align this form to the left side of the page?

        Thnks!

  10. 177 days ago by Noam

    Worked great for me! Thanks!

  11. 187 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?

    • 186 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”

  12. 191 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!!!!!!

  13. 191 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!

  14. 202 days ago by Bill J.

    Any other suggestions to solve the BCC problem?

  15. 220 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

  16. 222 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!

  17. 235 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

featured wordpress themes