
 Simple Referer
 author: Doni Ronquillo
 author: CodeMunkyX
 by: http://www.free-php.net

 # Version Info

 -- v1.1
 ---- Changed code to not depend on register_globals being set
 ---- Made script more efficient

 -- v1.0
 ---- Initial Creation

 # Requirements

 -- PHP 4 (http://www.php.net)
 -- MySQL (http://www.mysql.com)


 # MySQL Database Setup

 -- Open sql.txt in the main Simple Referer folder.
 -- Paste the contents into a tool that can execute SQL commands for your MySQL DB

 # Installation

 -- Open config.php in the main folder and modify the settings to your liking
 -- Upload to your server


 # How to Use Simple Referrer

    1. Make sure you have followed the installation instructions above	
    2. include config.php in your page. <? include('config.php'); ?>	
    3. In your php file include the function <? refer(); ?> at the top of any php page, or if your using header/footer files in the header.
    4. To Display the links include the function <? disp_refer(); ?>

 # TROUBLE SHOOTING

 -- Make sure all paths are correct in each file use full paths if necessary.