How to Install the PHP Script Version

Posted by on Sep 12, 2010 in How To

Fast Secure Contact Form – PHP Script

This contact form lets your visitors send you a quick E-mail message. Blocks all common spammer tactics. Spam is no longer a problem. Includes a CAPTCHA and Akismet spam prevention support. Additionally, the plugin has a multi-form feature, optional extra fields, and an option to redirect visitors to any URL after the message is sent. Packed with settings and features.
(there is also a WordPress plugin version, this is a PHP Script version that does NOT require or use WordPress!)

Installation

Step 1)
Download fs-contact-form.zip and then unzip it (I use a free program called 7zip)
When you unzip it, you should have a folder called  /fscf-contact-form/
inside that folder is the /contact-files/ folder.
FTP upload the /contact-files/ folder to
www.yourwebsite.com/contact-files/ using an FTP client such as FileZilla.
Be sure to preserve the folder structure from the zip file. (upload /contact-files/ and all its sub directories)

Step 2)
Run the install:
Put this URL in your web browser and configure the site settings needed for the program install:
www.yourwebsite.com/contact-files/install/index.php

Step 3)
After the install page is complete, you are directed to the admin page.
This is where you edit and preview your forms:
www.yourwebsite.com/contact-files/admin/index.php

Step 4)
How to insert a form on your web site:
Go to the admin menu (step 3): when editing or previewing a form, you will see the “Usage” instructions:
Click “Show PHP Code”, then edit the HTML of a PHP page on your web site and add the code.
You can add more than one form on a page, just repeat the complete PHP code block using a different form number. Example: you make a new contact.php page, then enter the PHP code block you copied from the “Show PHP Code” instructions.

Step 5)
This step is required for the CAPTCHA refresh to work properly:
Put this HTML code in your page somewhere in the head section(anywhere after but before ):
<script type="text/javascript" src="http://www.yourwebsite.com/contact-files/contact-form.js"></script>

Make sure you have replaced “www.yourwebsite.com” with your own web site, and if you have installed /contact-files/ in a sub directory you have added the path also. You should be able to put http://www.yourwebsite.com/contact-files/contact-form.js in a web browser and not get a “not found message”. And after installing, be sure to test that the CAPTCHA refresh button works, if it does not work you have performed this step incorrectly.

Step 6)
Upload your PHP contact for page to your server and test it.
www.yourwebsite.com/contact.php
Example: Upload contact.php to your server and test the form, send yourself a message and see if it works.
Note: do not put your contact pages in the /contact-files/ folder because then future program updates would be more risky.
It is most common to put your form pages in the root of your web site, like this: www.yourwebsite.com/contact.php
You can put the form pages in other folders if you want, like this:
www.yourwebsite.com/wx/contact.php
www.yourwebsite.com/weather/contact.php

Video: Fast Secure Contact Form PHP Admin Setup

Do you need help?

Send us a Donation:

Donate to Mike Challis