/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *	 http://www.gnu.org/licenses/gpl.txt
 *
 ***************************************************************************/

 Read me for filecounter.
 
 File Counter:
 A PHP class counts the number of times a file has been downloaded.
 
 http://www.bsgonlinegames.com/
 
 ------------------------
 
 1.0 Setup
 ---------
 
 	First thing you should do is edit filecounter.class.php and customize the variables. 
 	
 	If you plan on using filecounter with a MySQL database you will need to create the following table:
 	
 	
    CREATE TABLE `filecounter_data` (
     `id` int NOT NULL auto_increment,
     `file` char(255),
     `count` int,
     PRIMARY KEY (`id`)
    );
    
    --
    
    Also edit database.php
    
    If you plan on using filecounter with a flat file database you will need to make sure the flat file
    is readable and writable by your web server.
    
    --
    
    Edit files.php. This array holds the file number and location.
    
    
 2.0 Information
 ---------------
 	
 	When using MySQL The full path of the file is limited to 255 characters.
 	
 	Requires PHP 4 or higher.
 	
 	The following lines need to be the same in example.php (your script) and download.php:
 	// Set the list of files (relative to the current directory)
	$filecounter->files = array(
						1 => "example.php",
						2 => "filecounter.class.php"
					);
	
	
					
