It looks exactly like this -->
However, it usually shows up in a sentence that says something similar to:
The page has been read times.
or
Including you, people have visited
this page
You should only be interested in using this counter if you want to include sentences such as those just displayed in any of your documents. If this all seems like too much work, or you don't care to let the people reading your page how many times the page has been accessed, then you needn't read any further. However, if you think this is a good, attractive, informative, feature, please read on for instructions on how to implement it.
<IMG SRC="http://www.lehigh.edu/cgi-bin/counter.xbm?unique_name">where unique_name is any name (with no spaces or special characters other than an underscore) that you choose, but choose one that will be unique. As a convention, let us suggest that you start the name with your username and an underscore. So, for instance, if your username is abc0, then you would choose abc0_homepage as the name for your home page counter.
The counter is initiated with a count of zero. Don't let this convince you it isn't working. To check it, you need to reload the document. If you simply use the Back and Forward keys to re-visit your page, it will not increment the counter.
You may also initiate the counter with a number other than zero. To do this, you would add a parameter to the counter with the initial count. An example is,
<IMG SRC="http://www.lehigh.edu/cgi-bin/counter.xbm?abc0&COUNT=57">This example creates a counter called abc0 with an initial count of 57. Note: The word COUNT must be in upper case letters. After being initialized, the counter program ignores the COUNT parameter.
When a document is requested, the server sends the document to
the client (browser). If the document includes in-line images, then those
are also sent to the client. In the case of the counter, the image file
does not exist, but is dynamically created based on the value stored in
a file. First the file is read, the number is incremented by one, an XBM
file is created displaying the new count, and that file is sent to the
client. Simple, heh?
<http://www.lehigh.edu/cgi-bin/counter_text.sh?counter_id">where counter_id is the unique ID of the counter you want to see. As an example, you can check on the value of the counter shown at the top of this document.