My counter can be configured in several different ways to match your preferences.
To achieve this, you can pass arguments and argument parameters to the counter.
To specify arguments and parameters, you must place a (?) after the cgi program
followed by the arguments and parameters. First, you must place the argument,
followed by an equal sign (=) followed by the parameter. If there are multiple
arguments and parameters, you must separate them by ampersands (&).
Here's an example:
http://url/cgi-bin/counter.cgi?arg1=param1&arg2=param2&arg3=param3
The following are my counter's currently supported arguments:
You can change the font type to any one of my supported fonts.
Argument: font
Parameter: one of the following font names (default: arial)
example: font=courier
FONTS
name
image
arabic
arial
basic
century
chinese
comic
cooperlate
courier
couriernew
curlz
dom
extended
farsi
fixedsys
japanese
lucida
matisse
stop
symbol
tahoma
tempus
terminal
times
trebuchet
verdana
westminister
widget
You can change the color of the font.
Argument: fgcolor
You can change the color of the font's background.
Parameter: a hexadecimal RGB value (default: ffffff i.e. white)
example: fgcolor=ffff00 (for a yellow font)
Argument: bgcolor
Parameter: a hexadecimal RGB value (default: 000000 i.e. black)
example: bgcolor=0000ff (for a blue background)
C
O
L
O
R
S
background color
foreground color
image
008080
ffff00
00ff00
ff0000
bfff00
00a0c0
ffffff
0000ff
You can change the number of displayed digits.
Argument: digits
Parameter: the number of digits (default: -1)
you can specify -1 to find the minimum number of digits
example: digits=4
digits
image
4
8
12
16
-1
You can set the number displayed.
Argument: number
Parameter: the value of the number (default: uses the number of hits or 0 in case of error)
example: number=365
number
image
1234
64
13
95738
You can tell the counter how frequently you want to receive your hits log file via email.
Argument: update
back to the top
Parameter: number of days (default: 7 i.e. 1 week)
you can specify -1 to disable automatic email updates
example: update=3
You can tell the counter how much to delay before recounting a hit by a repeat user.
This is useful to eliminate people who keep hitting reload, or people who keep coming
back to your main page multiple times in the same visit.
Argument: recount
back to the top
Parameter: number of minutes (default: 5)
you can specify -1 to disable recounting, so that this hit will not be counted
example: recount=5
You can receive your log file emails in plain text or HTML format.
Argument: html
back to the top
Parameter: 0 (off) or 1 (on) (default: 0 i.e. off)
if html is set, the contents are html formatted, for email clients that support html
example: html=1