Counter for UH Department Pages (Count.cgi)

Note: Only University of Hawaii departments with directories on the ITS server (accessible via will be able to use this counter. Personal home pages ( and those on other servers will not be able to use this CGI.

Information on using the counter:

To call the counter, simply add an inline image tag to your page, e.g.,
<img src="/cgi-bin/Count.cgi?df=yourdirectory.yourfilename.dat" alt="hit count">

To avoid confusion with other department's pages, the "df," or data file, attribute should be based on the page's URL. For example, if your page's URL is, then the tag may look like this: <img src="/cgi-bin/Count.cgi?df=counter.index.html.dat" alt="hit count"> and will produce this: hit count Be sure to add ".dat" to the end of the data file name. Another example: If your URL is, then you might use: <img src="/cgi-bin/Count.cgi?df=infotech.documents.doc1.html.dat" alt="hit count">

Do not use slashes ("/") in the data file name.

See below for options and more information:

Examples with a few options

(Note: options are separated by a "|" vertical bar):
Hit Count (plain) hit count <img src="/cgi-bin/Count.cgi?df=counter.index.html.dat|dd=E|ft=0" alt="hit count">
Hit Count hit count <img src="/cgi-bin/Count.cgi?df=counter.index.html.dat|dd=B" alt="hit count">
Current Time current time <img src="/cgi-bin/Count.cgi?display=clock|dd=D" alt="time graphic">
Current Date current date <img src="/cgi-bin/Count.cgi?display=date|dd=cdr|ft=2" alt="date graphic">
Brief Legend
df = datafile name (should be unique for each counter)
dd = digit style (see Digit styles for what's available)
ft = frame thickness (pixels)
st = starting count number (set the counter to a given number, e.g., your current count. Works only once; ignored thereafter.)
display = show clock or date
Please rate the quality of this answer: Poor Fair Okay Good Excellent
Not the answer you were looking for? Try different keyword combinations and if you still can’t find your answer, please contact us.
Article ID: 698
Created: Tue, 13 Feb 2007 10:37am
Modified: Thu, 15 Feb 2007 12:58pm