Advanced HTML

Using a Counter

If you would like to include a counter which displays how many times your page has been accessed, use the following command:

<IMG SRC="/cgi-bin/wwwcount2.3/Count.cgi?df=username#.dat">
If your file has a common name like "default.html", substitute some other unique name in place of the file name, for example, your username followed by a number like "username1.dat". If you have a counter on several pages, add different numerals to the end of the username to make them unique.
The code for the counter below reads:
<IMG SRC="/cgi-bin/wwwcount2.3/Count.cgi?df=username#.dat">



forward

back

Return to Beginning

This resource was produced by the Boston College InfoEagle Team.

Return to Web Development Resources
infoeagle@bc.edu