Counter

[ MSA ] [ Overview ] [ Readme ] [ Download ] [ Demo ] [ FAQ ] [ In Action ]

Overview

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://www.unimelb.edu.au/fly/fly.html 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.

Readme

The Readme files at Matt's Script Archive contain detailed installation, configuration and usage instructions, which take you step by step from placing 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.

Downloading

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.tar.gz (10.6K)
    • counter.zip (11.7K)
    • counter.tar.Z (15.7K)
    • counter.tar (41K)

    • You can also view each file individually:

      counter.pl
      This is the perl script that actually counts and then sends the count to your web users in-lined in your page..
      README
      Includes installation instructions and a detailed description of how to set it up to work on your server.
      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.

Working Demo

Several scripts at Matt's Script Archive lend themselves well to local working demonstrations. The Graphical Counter is one of these and the working demo of counter.pl is displayed below. More examples of these scripts in action can be found in the 'Scripts Around the World' section of MSA.

Frequently Asked Questions

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.

Counter in Action

If you wish to see examples of Matt's Script Archive's CGI scripts used around the internet, you only need to check the Scripts Around the World section. See what the scripts look like in action on real web pages, but be considerate as these are actual implementations.


[ Matt's Script Archive, Inc. ] [ Advertising ] [ The CGI Resource Index ]

Matt Wright - mattw@scriptarchive.com
© 1995 - 1997 Matt's Script Archive, Inc.