
------------------------------------------------------------------------------
  PHP Reccommed Me v1.1
------------------------------------------------------------------------------

Freelance Web Developer -  PHP, Perl and Javascript programming
Web:  www.stevedawson.com
Written by Steve Dawson

After unzipping the recommendme.zip file you should have the following files:

reccomend.htm        - Contains the form to be filled in
recommend_.php     - Sends the emails
thankyou.htm          - The than you page
readme.txt              - This one your reading now!

This script is FREE as long as the link to www.stevedawson.com is in place.
For commercial sites, please contact me for details on removal of this link back.

-------------------------------------------------------------------------------
  OVERVIEW
-------------------------------------------------------------------------------
The purpose of this script is to allow a visitor to your website to fill in a
form and recommend your website to their friends.

FEATURES:

 - Javascript error checking, the required details must be filled in before
    the form can be sent.

 - Up to 3 people can be recommended at any one time, a great way to gain
   extra visitors to your website.

 - The form can only be submitted once. This is to prevent a user constantly
   hitting the 'Send Email' button.

 -  Easily customisable. Enter you own text in the sent emails (SEE BELOW)

 - Receive copies of all emails sent, so you know who has been recommending
   your website and the email addreses of the people who have received them.

 - After sending the emails, the user will be directed to a 'Thankyou' page.
   Customise the one supplied or if you do not want a thank you page 
   forward them to any website address.


-------------------------------------------------------------------------------
  INSTALLATION
-------------------------------------------------------------------------------
If all the files are in the same directory, then you only need to edit the
file recommed_.php

recommend.htm
This file is the form that is displayed for the user to fill in the details to
recommend your website. Edit the file to match the look and feel of your
website but leave the FORM variables as is.

recommend_.php
This file is the guts of the script. Its job is to catch the details in the form
format them and send out the emails. The file is well documented and
should be easy to configure. To change the text in the emails, simply type
in what you want to say!.
The following requires changing in recommend_.php for the script to work

 $EmailTo = "you@yourdomain.com"; // enter your email address here

All other changes to be made for custimisation are documented in the
recommed_.php file. Use a text editor to do the changes.

thankyou.htm
Edit this file as you want, it is a static page just to say thanks for using
recommend feature of the website. It is always nice when you submit
a form on the net that someone has the curtesy to inform you that
everything went OK.

============================================

If you would like to use PHP RecommendMe as a pop-up window as I have done in
the demo, available online at www.stevedawson.com then you will have to
follow the two simple steps below:

STEP ONE:
Copy and paste the code below in between the <HEAD></HEAD> tags
of the page the link will be on.

<SCRIPT LANGUAGE="JavaScript"><!-- Begin
function RecommendMe(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,
width=550,height=500,left = 50,top = 50');");
}
// End --></SCRIPT>

STEP TWO:
Copy and paste the code below into the page wherever you want the
link to appear. You can change the text 'Recommend My Website' to say
what every you want.

<A HREF="javascript:RecommendMe('recommend.htm')">Recommend My Website</A>

Now, when you click on the link, a new window will open with the size
width=550,height=500. These can be changed by modify the Javascript
in the code in the <HEAD></HEAD> tags in your page.

-------------------------------------------------------------------------------
  HAVING PROBLEMS?
-------------------------------------------------------------------------------

If you would like this script seemlessly integrated within your websites
current design. I offer an installation service for a one off fee of 25.
Please contact me via the web at www.stevedawson.com with your
requirements. Comments and suggestions are more than welcome.

That's it, have fun with PHP Recommend Me script
and an email would be appreciated for website that make use this script.

-------------------------------------------------------------------------------
THIS SCRIPT IS AS IS. UNDER NO CIRCUMSTANCES CAN I BE HELD
RESPONSIBLE FOR ANYTHING TO DO WITH THIS SCRIPT OR ANYTHING
ELSE THAT HAPPENS IN THIS WORLD.

**** For more free scripts visit www.stevedawson.com ****

CHANGELOG:
Version 1.0 - Added Javascript window Pop-up info to this file for installation
Version 1.0 - Layout was a bit lame, so i have added a bit of colour!