SuperFast Cache, the WordPress cache pluginAnswers to FAQs

Free contact form script with validation and captcha

How to change password to be hack proof and protect your password

Free PHP Contact Form Download for your website

ppContactForm is a visitor contact form with validation and captcha and is one of the most advance contact us forms ever developed for websites. It blocks spam and verifies that the person filling up the form is not a bot and has provided a genuine email address. It uses php to send emails.

When you set up the email form you can use either the PHP mail function or an SMTP Server setup to send out the emails. Use the PHP mail function if your mail box is on your hosting account, on your server. The software defaults to this if you do not select the SMTP Server. Use the SMTP Server if your email address is on yahoo or gmail or hotmail or other server.

As you can use two email addresses of which one is a 'noreply' email address and the other you own working email address,

This means that spammers cannot hide their identity and send junk email to you or someone else or to multiple email addresses when you use ppContactForm.

Best of all this spam free contact form will, under certain circumstances, inform you of problems sending out emails. You will receive an email informing you of this. The simplest case of such problems is when you change your email password and do not update the new password in the ppContactForm setup.

Deactivate your host server Outgoing Connection Manager

Do Note: You need to add IP address currently: to the Outgoing Connection Manager in your host server. This is necessary if you did not deactivate the Outgoing Connection Manager. If you have activated your Outgoing Connection Manager (Firewall) on your host server, do allow access to our website. Our dedicated IP address is currently: Do allow access to this IP address so that our server, and ppContactForm can send and receive messages. This is to allow our server to send you notifications should your outgoing emails fail to be sent. As most servers have tightened security since 2013/2015 (they have by default activated the Outgoing Connection Manager to block out going email) you will either need to deactivate this Outgoing Connection Manager or supply a list of IP addresses that are used by your SMTP server, gmail, hotmail, yahoo, ...etc. If you are not sure please contact your hosting service provider tech support.

The other reason for deactivating the Outgoing Connection Manager or allowing access to our servers at IP address currently: is that ppContactform can update its self with announcements of the latest developments of our products. These are displayed on the left sidebar of ppContactForm.

Advantages of connecting to our server

Our server is at The advantages of connecting to our server is that :-

1. If your website visitors have difficulties and the mail system does not work on your website ppContForm will inform our server. Upon receiving a distress signal from your website our server will send you an email to inform you that there is something wrong on your server.

2. You will not lose any potential customer and you will receive their message.

3. We can update the left sidebar of ppContactForm to inform you of latest upgrades and products.

ppContactForm form screen view

ppContactForm contact login screen

Contact form embed code with iframe tags

ppContactForm is for those websites that do not block < iframe > < / iframe> tags as code insertions into your webpages. Let me tell you the truth, 3 years ago, in 2013, this program worked as a contact form for WordPress blogs. Unfortunately, recently, WordPress has blocked the insertion if < iframe > < / iframe> tags. This means that whatever you do, it will be stripped out by WordPress and therefore now cannot be used in WP blogs. I have found that even those plugins that claim to allow you to embed code, now do not work at all. If you have any other type of website that does not strip the < iframe > tags then ppContactForm will work wonderfully.

How to install ppContactForm feedback form

Upload the (if there are numerals in the filename they show the version number and release date) file to your server, for example, Then unzip it. You will see a new subdirectory called /ppcontactform/.

ppContactForm will stop spam emails being received by your working email address.
your working email address is hidden from the spammer
ppContactForm will not allow spam emails to someone else.
your website visitor has to verify that he/she is supplying you with a genuine email address.
Execute /ppcontactform /index.php as part of your URL.
eg http:// /ppcontactform/index.php

ppContactForm contact login screen

and ppContactForm will ask you for a password. Make sure you provide a password 12 characters or longer, only then will ppContactForm proceed further. The minimum length of 12 characters is to prevent hackers attacking your site through index.php.

Go to the Setup menu and just click on each menu option and fill in the required fields.

Step 1: Login by providing a username and password. This is a single user software so only one username is allowed.

Step 2: Read the Help Documentation and the security documentation.

Step 3: Fill up the required fields in Setup > Email Addresses and if you are using SMTP server, fill up the fields in Setup > Setup SMTP. All others can be left at default values.

Step 4: Copy the HTML code provided under the HTML Code menu and paste it into your website blank Contact Us page. You can now use the Contact Us form.

Setting up one or two email addresses

menu for 1 or 2 addresses

email screen for 1 or 2 addresses

You can specify either one or two email addresses to be used. If you specify one email address set it in the primary email address field. If you specify a second email address then this should be your working email address that you do not want anyone to know of until you respond to the message sent to you.

When we looked at trying to determine how many installation of ppContactForm there were, we realized that we could not rely on the zip file download counts. This was the reason we decide to record every installation in our database. We store only your website address and email address. This database is private and will not be given to other parties. After doing this we realised that we could send you a newsletter or two with the information we stored.

Writing a newsletter is not easy. Its not easy making something interesting to read and many people do not read newsletters. I don't read them too, after the 2nd or 3rd newsletter. Worst still we have so much development to do you may not receive a news letter for months. So we won't harass you with tons of rubbish. Just the occassional one to let you keep up with what we are doing. Please do click 'Yes' at the "Can we email you info?" option to receive a newsletter as shown above.

SMTP Server settings

smtp server settings

You will need to specify your SMTP Server, Port Number, SMTP email address and its password. If you had selected the "Use SMTP" - the 'Use Now' radio button then ppContactForm will use SMTP Server to send emails. If you had selected the "Don't Use" radio button then email mails will be set out through your website mail function.

It is the best secure contact form for your website.

ppContactForm can be used on WordPress websites

For security reasons WordPress has stripped all uses of "scripts" and javascripts in the post and pages. That means you cannot insert the contact form webpage into WordPress but you can place a link to the Contact Us webpage so that your viewers can contact you. I have a contact-us.php webpage at to root of my website. And in the 'contact us' page in WordPress, I put a link to that page. For example my contact us WordPress page is :-

And the contact-us.php script at root level looks like:-

Or in your WordPress Contact Us page you could link directly to the script in ppContactForm directory
Then you would not need the contact-us.php webpage as shown above.

All the visitor has to do is to go to the Contact Us WordPress page and click on the link to view the contact form.

Error Messages

You may receive several types of error messages.

1. Could not connect to smtp host ssl:// (13) (Permission denied)
Some error occured - SMTP Mail Server

In this case the gmail email address was used and we were using SMTP server. This indicates that Outgoing Connection Manager is activated on your website and you have not specified IP addresses to which data can be sent to. The easiest way around this situation is to deactivate the Outgoing Connection Manager on your server hosting account. If you are not sure how to do this please contact your hosting tech support. The other reason is that your host has not allowed communications between your site and our site. Please allow this by specifying the your server to allow communications with our server at IP address at

2. Unable to send e-mail. Please contact the hosting server tech support with the following error message reported by the SMTP server: "535 5.7.8 https:// /mail/answer /14257 k3sm2170302wjh.7 - gsmtp"
Some error occured - SMTP Mail Server

Warning: file_get_contents() [ function.file-get-contents ]: SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL routines: SSL23_GET_SERVER_HELLO: unknown protocol in /home/www/ /ppcontactform /inc/myxxxxxxxxx.php(1) : eval()'d code on line 101
Warning: file_get_contents() [ function.file-get-contents ]: Failed to enable crypto in /home/www/ /ppcontactform /inc/myxxxxxxxxx.php(1) : eval()'d code on line 101
Warning: file_get_contents( /dpacontactus/dpaiem.php ) [ function.file-get-contents ]: failed to open stream: operation failed in /home/www/ /ppcontactform /inc/myxxxxxxxxx.php(1) : eval()'d code on line 101

This error message indicates that either our or your SSL certificate for our / your website appears to be misconfigured and was not operational. Please ask your hosting services tech support to reinstall your SSL certificate and please let us know about this.

This article on a free php contact form with validation and captcha was researched and written by Peter Achutha, 21st April 2016


Copyright (c) 2013 - 2020 Peter Publishing - All Rights Reserved