v-ine v1.5 README
	Script and README Author: <http://jp.thomas.name>
	Script Last Modified: 6/10/02
	README Last Modified: 6/10/02

TABLE OF CONTENTS
1. Purpose
2. Requirements
3. Installation
4. Customization
5. Other Issues
6. Reporting Bugs
7. Acceptable Use

1. PURPOSE - Brief Explanation, Advantages, and Limitations
	v-ine v1.5 is a referral service.  Users may recommend your site to their friends using their own message.  The webmaster can receive notices of all referrals, including the custom message your visitors may send to their friends.
	NEW with version 1.5: v-ine can now process multiple referrals simultaneously.

2. REQUIREMENTS - Necessary Software and Server Access
	PHP must be installed on your Web server.

3. INSTALLATION - Step-by-Step
	(1) Download and unzip v-ine.zip.  You should now have the following files:
		* thanks.html
		* v-ine.html
		* v-ine.php
	NOTE: If you want to use another filename for thanks.html, you must open v-ine.php and change the "thanksURL" variable.
	(2) Open v-ine.html for editing.
		(a) Enter values for the hidden form field "url".  "url" is the URL that will be advertised by v-ine.
		(b) Two submission forms are provided.  The first has one friend field, the other has 10.  Select one and delete the other or customize a form to have any number of form fields.
	(3) Open v-ine.php for editing.  Skip to the section header DEFINE THE VARIABLES.
		(a) $subject: Change the subject of the referral e-mails if you'd like.
		(b) $defaultMsg: Change the default message if you'd like to.  This is sent when the user does not supply his own.  You can use FRIEND_NAME to refer to the person receiving the message and $userName to refer to the person sending the message.
		(c) $formURL: Type in the URL of your submission form, the v-ine.html file (you may rename the file).  v-ine matches this against the URL posting to v-ine.php to protect against unauthorized use.
		(d) $thanksURL: Set this to the URL v-ine should transport users after v-ine has processed the referrals.
		(d) $webmasterEmail: Type in your e-mail address.  v-ine will send error reports and optional referral notices (see below).
		(e) $receiveNotices: Leave this set to 1 if you want v-ine to notify you about referrals.  Set it to 0 otherwise.
	(4) Upload the files.
	(5) You should finish by testing it.

4. CUSTOMIZATION
	You may completely change v-ine.html and thanks.html.  You may even change their filenames.  If you rename thanks.html, you must change the "thanksURL" variable in v-ine.php.  Be careful about changing the form in v-ine.html.  The field names (friendName[], friendEmail[], etc.) must remain the same.
	Unless you are comfortable with PHP, you can't customize v-ine.php.  Certain error messages may appear which are hard-coded into the script.

5. OTHER ISSUES
	(*) Speed.  v-ine seems to run slowly, around 10 seconds.  Ways will be explored for improving speed.

6. REPORTING BUGS
	Visit <http://jp.thomas.name> for updates and bug reporting.

7. ACCEPTABLE USE
	You may freely use, modify, and distribute this script.