INSTALL

Requirements:
 
A server that supports php3 and SSI (server side includes)


Instalation of this script is very straitforward.

first extract the files.

$tar -zxvf counter.php3

then edit the file counter.php3
This are the editable parameters

$text = 0 ;                                                 
0= graphic counter 1=text counter

$file="counterfile.count";                             
File that will be used to count, make sure that the httpd daemon can write to this file, 
if it does not exist it will be created if created by hand please write a 0 to it

$images="http://127.0.0.1/imagenes/";          
Directory of images or address to where the images are located, in this address if the counter will be used in graphic mode
please place files for all digits for example 1.gif 2.gif 3.gif

$imagesext=".gif";                                      
This is the file extension that the digits would have if set to gif then the files would be <digit>.gif, it can be any supported graphic type

 
echo "Erase This line"; <-- this line is to be erased just to make sure that the script was setted up for correct use.

after everything has been edited just add this html to your page in the place that you want the counter

<!--#include virtual="/path/to/counter/counter.php3"-->


that's it enjoy.

Questions ? send me a letter.
Roberto Salvatierra (chuby@internettico.com)
http://www.internettico.com

