This program creates a xbm or gif image containing a number. This number is incremented by one each time the program is called.Usage: <img src="/cgi-bin/counter(/section)(/rvid)(/face=n)">
The parameter section defines the name of the counter. This enables you to have multiple counters if required. If section is omitted, it will default to the value 'mainpage'. Each section name is automatically prefixed by the name of the page area, so you do not have to worry about your section name clashing with anybody elses name.
The parameter rvid will cause the counter to be displayed in reverse video. (Only if the standard font is being used, see below)The paramter face=n allows you to change the style of numbers that are used. If this parameter is not supplied, then a standard font will be used in a xbm image. If the parameter is given, then one of these fonts will be used instead. If this paramter is used, it must be as the last paramter.
If you add 128 to the face number, then the counter will not display any leading zeros (e.g. it would show 123, not 000123). So to use the number 11 (ontario) font without displaying leading zeros, the face number is 139. (128 + 11)Examples:
These examples assume that the counter is being called from http://user.itl.net/~auser/index.html<img src="/cgi-bin/counter/total"> will create a counter called auser.total
<img src="/cgi-bin/counter/second/rvid"> will create a counter called auser.second, and it will be displayed in reverse video.
<img src="/cgi-bin/counter/third/face=17"> will create a counter called auser.third, and it will be displayed in font 17 (sunset).