SIPB provides two counter scripts. One is the traditional, ever increasing counter script. The other is averages the number of hits you receive over time and reports number of hits per day.
This document explains how to use the counters in your own web pages. The SIPB counter is a script that can report how many requests (some people call them hits) have been made to a particular home page. It can be useful to determine which pages are more popular and to give you that nice rush when it jumps to two digits.
You should first have an already established home page. Counters are much more useful on completed pages. It's not considered overly useful to place a counter on a page that just says 'under construction'.
Next, choose an identifier that will uniquely name your counter image. If you have just one counter, we recommend your username as the identifier.
Finally, place the following code in your HTML document (where username is your username). If you want to use the average-hits-per-day counter instead of the normal counter use /cgi/perday/username in place of /cgi/counter/username, as below.
<!-- Note to anyone copying the HTML for the following counter: the counter name ("username" on this page) must be unique. Otherwise different pages will increment the same counter. See http://stuff.mit.edu/doc/counter-howto.html. --> This page has been accessed at least <a href="http://stuff.mit.edu/doc/counter-howto.html"><img src="http://stuff.mit.edu/cgi/counter/username" alt="several"></a> times since the counter was last reset, <!-- shouldn't happen, but include the disclaimer anyway --> or January 29, 1996, <!-- when the counter with this name was first used --> whichever is more recent.
This will create an image showing the number of times the image has been retrieved. Note that you can use any key instead of your username in order to have multiple counters on other pages. Howewer, you almost certainly want to make sure your counter's name is unique, so that multiple people don't increment the same counter. (I suggest that you note this in an HTML comment on your page, so other people who copy the section from your page don't use the same name and increment *your* counter every time someone accesses *their* page.) Since any non-special character should be legal in the identifier, one way to help ensure this is to use your lockername and the path from there to your page in the countername.