|Counter allows you to represent the number of visitors to your page (or more accurately, the number of people to load the counter image) through a graphical depiction. If you have Server Side Includes and would rather have a more accurate and txt-based counter, check out TextCounter. The Counter program at MSA requires a C program called fly, which is located at: http://martin.gleeson.com/fly/ in order to put multiple gif images together into one on the fly. There are several downloading options available below and more information on this script can be found in the Readme file.
|The Readme files at Matt's Script Archive contain detailed installation, configuration and usage instructions, which take you step by step from putting the scripts on your system to using them in your web pages. You should read these through and keep them by you when setting up or installing any MSA script. It is probably not a bad idea to print them out. Each compressed script package contains a plain text version of the Readme file, however the links below will take you to their HTML counterparts.
Readme Files: Counter:
- Copyright and Header
- access log and error log
- Counter Digits
- How To Call This Script From Your Web Page
|Counter can be downloaded in several different formats, or you can even have it mailed to you as a uuencoded file. Click on one of the links below to the appropriately compressed file and download options will appear.
|Counter file format: .zip (10.6kb), .tar.gz (11.7kb), .tar (41kb)
|The above distributions contain the following files you may wish to view:
counter.pl - The perl script that maintains and displays the count on your page.
README - Includes installation instructions and a detailed description of use.
html_log.pl - A program to convert your access_log into nice web page of stats.
count.txt - The count file which keeps track of the next number.
access_log - An access log file which can be used to track visitors to your site.
error_log - An error log file to which most errors will be written.
bad_referer.gif - An image notifying users they cannot leech off your script.
|The Frequently Asked Questions Archive at MSA is the easiest and fastest way to get help. It contains a list of the most commonly asked questions as well as their answers. Check these out before you seek other means of help, as your question may be answered here already.
Frequently Asked Questions: Counter:
1. How do I make the counter appear in my HTML document?