Using a counter in your Web Pages

The Internet Project makes web counters available for use in your own home pages. A counter is a small graphic representing the number of times your page has been visited.

A counter graphic is included by having a line such as:

<img src="/cgi-bin/Count.cgi?df=userid_link">
The userid_link argument is actually the name of the file that will contain your counter, so it MUST be unique - this is mostly easily achieved by using your userid plus something to make the counter unique. For example, if your userid was "frednurk", you might make your counter name "frednurk_one.dat". Whatever you choose, keep it simple and short.

This results in a number like: being inserted into your document.

Please note that this counter is provided for the use of Internet Project users only - other users are requested not to use this counter facility.

There are a LOT of options and parameters that you can use to get the counter you want - several digit styles are available, you can turn off the zero-padding, you can control border thickness and so on. The counter can also display local time and local date. For full instructions on using the counter, please refer to the author's documentation. Note: This is a local TIP mirror of this information. If any links in our copy are broken, please check the original source.

PLEASE read the documentation before even THINKING about seeking technical support from the Internet Project help team! Then read it again.

Remember that anyone in the world supplying the correct arguments can change your counter values, so don't depend on them for anything other than curiosity value. Finally, remember that counters take up computer resources; please don't overuse them.


[User_Info] [Top] [PCUG] [AUUG(Canberra)] [Comment]
webmaster@tip.net.au / 24 Oct 2006