• Home
  • Contact Form with PHP/ReCaptcha

Contact Form with PHP/ReCaptcha

A great script I bought here


You can download from here.

After download, I had to change the following fields:

  1. from_name
  2. from_address
  3. to_address

If you want to enable human validation (prevent bots from submitting) there are instructions in index.html you can follow.

Visit https://www.google.com/recaptcha/admin

Fill out the following items

It will provide you with all the needed info here

Update the configs.php file

Change the html as needed to enter the sitekey (this occurs for each form on index.html so you need to copy paste a few times)

Uncomment script near the bottom of the page!

You end up with

Which submits and sends an email like this!

Pretty awesome! Check out final product http://myfinalprojectrocks.com/contact/

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.