This is a Text Counter script
that can be used to count the visitors of your HTML or
PHP pages on a website. This program has improved file locking
so your counter won't constantly reset. This package
should have come with 2 files:
1) counter.cgi - The CGI/Perl
program which does all of the work.
2) counter.txt - It is just a plain text file with the
starting number of your counter, by default it is 0, but
you can put there whatever number you wish for start.
Put counter.cgi and counter.txt
file into your cgi-bin directory and CHMOD both files to 755.
That's all! Your script is now
up and running!
To call this script from your .shtml
web pages simply use:
<!--#exec cgi="/cgi-bin/counter.cgi"
-->
To call this script
from your .php web pages, use:
<? virtual("/cgi-bin/counter.cgi")
?>