<?
//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
/*

RGNRecommend It!
Version 1.0

www.rgnscripts.com

July 22nd 2003

You may freely modify, use and distribute this software under the following
conditions:
- Redistributions of this software include this message and the copyright
  notice below.
- Modifications you made are clearly commented. If you modify the software
  to patch a bug or improve it, please send a copy to dmajor@illigio.com,so
  that others may benefit from this modification.

This software is provided by RGNScripts "as is", without any warranty.


*/
//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////

Files:
	-> rgnrecommend.php
	-> readme.txt
        -> recommend.txt
	-> top.gif
	-> recommendsite.gif

SETUP INSTRUCTIONS
==================
Create a directory to store your data files.  For example /phpbin/.
Then upload:
	rgnrecommend.php  -- No changes

Then upload:
	recommend.txt  -- CHMOD file 775 or 777
  				(this will allow us to write to the file)

Then upload:
	top.gif	-- No Changes
	recommendsite.gif -- No Changes



SCRIPT CONFIGURATION (WITHIN RGNRECOMMEND.PHP)
----------------------------------------------
$scripturl = "http://www.rgnscripts.com/rgnrecommend/rgnrecommend.php";
// this is the location of this script

$baseurl = "http://www.rgnscripts.com/rgnrecommend";
// this is the directory that script and files are in, no trailing slash

$logging = "on";
// allows you to record to a text file which links are recommended most

$recommendfile = "recommend.txt";
// this is where all of the recommendations are placed if logging is on

$emailaddress = "support@illigio.com";
// email address that will be the reply address when a message is sent out

$websitename = "RGNRecommend It!";
// name of your web site goes here

$javascript = "on";
// set this to "off" if you do not want javascript popups for recommend links

$imagelink = "on";
// set this to "on" if you want to use an image as the link for referral on pages

$image = "http://www.rgnscripts.com/recommend.gif";
// this will only be used if $imagelink is set to "on"



USING RGNRECOMMEND IT!
======================
To insert this script directly into your PHP file all you have to do is put this
code in your PHP page:

<? include /rgnrecommend/rgnrecommend.php; ?>

You will of course need to substitute the location of your file above.

You can also directly link to the script with this as your URL:

http://www.yourname.com/rgnrecommend/rgnrecommend.php?action=popup&url=http://www.specifyyour.com/recommendationURLhere.php


WEB HOSTING
===========
If your looking for web hosting, please check out our primary sponsor, ILLIGIO GROUP
at http://www.illigio.com.  

///////////////////////////////////////////////////////////////////////////////////////////
COPYRIGHT  2003 RGNSCRIPTS.COM
///////////////////////////////////////////////////////////////////////////////////////////
