------------------------------------------ -------- PHP Simple Contact Form --------- ------------------------------------------ -------- Version - 2.0a ------------------ -------- Author - Jigowatt Ltd ----------- -------- URL - www.jigowatt.co.uk -------- -------- Description --------------------- A self-contained PHP contact form, easily integrated with already formed pages. - File List - /assets --- error.gif --- success.gif - contact_form.php - stylesheet.css -------- Installation -------------------- Below you will find documentation for install or inclusion into your website. - Step 1 Unzip the files, be sure to check it's contents against the above file list. -- BACKUP BACKUP BACKUP -- It is important you keep a fresh copy of the script files incause of corruption, we do not offer ongoing support for this script. - Step 2 For simple inclusion of the contact form, page paste the following code in your existing PHP page. include('contact_form.php'); ?> Note: You must make sure you include relative to the file you are including from. e.g. contact.php is located in a folder called 'includes' and you are including from a base directory file such as index.php Your include statement would look like include('includes/contact_form.php'); ?> - Step 3 In the header of your website be sure to include the contact form style. Suggestion: Instead of this piece of code, why not copy the style for the contact page into your existing stylesheet, merging any conflicts i.e. body or html tags? - Step 4 Aprox Line 78: $address = "example@yourbusinessdomain.com"; Edit this to contain the email address that you want the form information sent to, this is the only important confirguration option. - Step 5 Note: If your page already has a HTML header you will receive a headers already sent error after inserting the above, you must remove the following from the file contact.php if this is the case. Line 1: