Title hit counter
Description a basic counter
Information
This is a test page for our counter, this counter can be used in text or graphics mode.
At the top of the script are 3 variables that can be set up
$counter_data is the name of the file that will hold the current count, put whatever number in this that you require
$image_dir is the name of the image directory for the digits for graphics mode , 4 folders are supplied with the download
$style is the variable which can be set to text for a text only counter or anything else for graphics, default is graphics
If you do not require the count to start at 0 open the counter_data.txt file and enter the value you require.
Upload all files in the zip file as is . This will create a directory called digits with 4 sub-directories called 1 , 2 , 3 and 4.
CHMOD the counter_data.txt file to 755.
To include this on a page use the following syntax
<?php include("counter.php"); ?>
Download hit counter
|