How Do I Place a Counter on My Web Page?

To install a counter, copy the code below and paste it into your HTML code:

<img src="/cgi-bin/img.php?fname=sample.dat">

The code fname=sample.dat is the file on the server where the counter stores the hits. In order to have your own counter, you must replace sample.dat with your username.dat. If you are going to use more than one counter, it will be best to use your username followed with a number (username1.dat, username2.dat, etc.)

For example, if your username is jonesb, you would use the following code to implement the counter:

<img src="/cgi-bin/img.php?fname=jonesb.dat">

Please note that this counter is available on campus web servers only. If you are creating pages on the district web server, please contact IT.