You can refer to the counter program from your web page like this:
<img src="/cgi-bin/Count.cgi?df=username.dat" align=absmiddle>
The string between ? and " is called the QUERY_STRING. Make sure there is no
newlines in the <img src= line and no space in the QUERY_STRING. Here in, df=username.dat,
df means your counter datafile. The counter stores the hits in this file. The
counter program has lots of options, you can make it work and look the way you desire. In
the query string, you can use the options described in the table below. The options can be
separated by a | or a &. You can use either one or combination of both. Here is an
example:
<img src="/cgi-bin/Count.cgi?ft=T&frgb=gold|df=sample.dat"
align=absmiddle>
The options can be in any order and not case sensitive.
Anyway, look at this Example
Page you will get the picture.