Using A Counter

How do you start the program?

Let me start by telling you not get frustrated because of all the options.  I'll explain each option step by step. If you keep reading, you'll find that it is really simple. You can refer to the counter program like this:

<img src="http://counter.execulink.com/cgi-bin/Count.cgi?ft=9|frgb=69;139;50|tr=0|trgb=0;0;0|wxh=15;20|md=6|dd=A|df=login.dat">

ft=9

ft means frame thickness. If you want to wrap the counter with a ornamental frame, you define the frame
thickness like this. Here 9 is the thickness of the frame in pixel. This value can be any positive number more
than 1. For a nice 3D effect, use a number more than 5. If you do not want frame, just use ft=0.

frgb=69;139;50

frgb defines the colour of the frame. Here 69 is the red component, 139 is the green component and 50 is
the blue component of the colour. The valid range of each component is >=0 and <= 255. The components
must be separated by  the  ; (semi-colon) character.

*Note even if you define ft=0, these components must be present, just use 0;0;0 in that case.

tr=0

tr defines if you want transparency in the counter image. here tr=0, that means that  I do not want a transparent image. If you want transparent image, define tr=1.  Note that Count.cgi does not care if your digits are transparent GIF's or not.  You must tell explicitly which colour you want to make transparent.

trgb=0;0;0

If tr=1, then the black colour of the image will be transparent. Here 0;0;0 are the red, green and blue
components of the colours you want to make transparent.

wxh=15;20

The wxh string defines the width and height of an individual digit image. Each digit must have the same width
and height.  If you like to use digits not supplied with my distribution, find out the width and height of the digits and specify them here.

md=6

md defines the maximum number of digits to display. It can be >=5 and <=10. If your counter number is less than md, the left digits will be padded with zeros. Here md=6 means, display the counter with maximum 6 digits.  If you do not want to left pad with zeros, use pad=0 instead of md=6.

*Note you can either use md=some_number or pad=0, in this field, you can not use both. If you use pad=0, then the digits will be displayed exactly without padding.

dd=A

dd means digit directory. As indicates, it will use my LED digits located at the directory A.

df=login.dat

df means data file. This is the file which will contain the value counter number. This file is kept in a secure directory on the server.  For each unique counter, a unique data file must be specified.  To make sure that your counter does not interfere with other peoples counters you should specify a data file like login3.dat where "login" is your login name.

*NOTE:  These options must exist, be in the exact order, and in lower case in order for the counters to work.