Once you have generated the script make a PHP document with it and name it whatever.php.
You then need to make a data file for the counters hits. Use the same name as you used to generate the script. (hits.dat)
The data file permissions must be set to: 666.
If you want your counter to start at zero ('0') count, then leave the data file empty.
But if you want it to start with a higher initial number, you must enter your desired starting number in the data file.
To install your counter script just copy it to your PHP document or create a file with the script and include it in your PHP document.
|