Просмотр файла TX/readme.txt

Размер файла: 3.26Kb
#################################################################
# TXcounter v4.0  						#	
# Written and Developed by: Aaron Bishell			#
# Homepage: http://binary.gamer.net.nz				#
#################################################################

GNU General Public License: 
===========================

    This program is free software; you can redistribute 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.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


Installaion:
============

1. Upload the TXcounter folder and all files to your webserver.

2. CHMOD hits.dat, simplehits.dat and the TXcounter directory to 777.

3. Copy the file tx_counter.php to the directory containing the page you wish to count.

4. Run the newly copied file tx_counter.php and follow install instructions.

5. Put this code at the top of your page you wish to count: 

	<? include "counter.php"; ?>
   
   Ensure the page extension containing this snippet of code is .php.


Useage:
=======

1. To view the full output open tx_output.php in your browser.

2. To set the time the cookie remains on a users computer (the cookie is used to see if the person is unique or not if he returns to your site) change the following code on line 18:

	setcookie("CookieValue", "$value",time()+172800);

	Change the value 172800 to whatever you like, it is in seconds and the default is 		48hours.


Notes:
======

1. TXcounter v4.0 supports up to 200,000 hits comfortably. Anything over that and it COULD become    very slow and you wont be able to read the output.

2. Any folder which contains a tx_counter.php file must be CHMOD'd to 777

3. You can use the tx_counter.php file inside the TXcounter folder obviously and in any folder       "below" where your counter files are stored. Examples:

    This will work:

    www.yourdomain.com/counter/*your counter files are here*
    www.yourdomain.com/tx_counter.php

    This wont:

    www.yourdomain.com/counter/*your counter files are here*
    www.yourdomain.com/stuff/stuff2/tx_counter.php
 
    This wont either:

    www.yourdomain.com/counter/*your counter files are here*
    www.yourdomain.com/stuff/tx_counter.php

    So you have to make sure you put your TXcounter directory "higher" up thge directory tree         than any of the pages you want to count.

4.  TXcounter is free if your website you use it in is non profit. If you make money off creating     a website or the running of a website which uses TXcounter then you are required to purchase      it for $5 USD, you can do this by going to my site and clicking on one of the          PayPal-Donate links. Purchasing it gives you unlimited useage for one website and unlimted        access to future patches