For best performance and viewing, please update your browser to Netscape 7.0, or IE 5.0 or greater.
Northern New England's Largest Internet Service Provider
GWI: Great Works Internet Technical Support
Residential services  Business services  About us  Technical support  About your account
Using the Internet Dial Up Support Email Support Web Page Help Broadband Support Phone Support Internet Security Contact Support
Text size smaller normal larger largest
ADDING A HIT COUNTER

Please note: this counter is ONLY for use by Great Works Internet customers! If you have a Virtual Web Server with us that currently isn't setup for use with the counter, please send an email to webmaster@gwi.net stating your Virtual Web Server name and your user ID.

To add a hit counter to your website, use a line as follows:

Basic counter...

<IMG SRC="/cgi-bin/Count.cgi?df=count.dat">

The same but in font E...

<IMG SRC="/cgi-bin/Count.cgi?df=count.dat|dd=E">

With a bright red thick frame, in style C...

<IMG SRC="/cgi-bin/Count.cgi?df=count.dat|ft=10|dd=C|frgb=ff0000">

NOTE: It is VERY important to change "count.dat" into a UNIQUE file name. If you do not use a filename that is unique among all GWI users who use count.cgi, then your data will mix with other users' data. For example, if your address is www.mydomain.com, you might use mydomain1.dat as the counter data file name.

As you can see from the above examples, multiple values are joined together with a |.

Currently, there are nine fonts for use with the dd= option, all of which are shown below. To use one of these fonts, simply add dd=STYLENAME to your tag (e.g., dd=A). Please note: these are all case sensitive, so using dd=a will not work!

Style A
Style B
Style C
Style D
Style E
Style cd
Style cdr
Style cdd
Style bang

Here are some of the many other options available for this counter program. We cannot guarantee that all of the following will work for you, but if the instructions are followed correctly, they should. The following examples were taken directly from the Counter Home Examples Page.

simple, no frame, digit style A (default)
<img src="/cgi-bin/Count.cgi?df=sample.dat&ft=0">

frame with default frame-color and thickness is 4 (specified)
<img src="/cgi-bin/Count.cgi?df=sample.dat&ft=4">

A hidden counter is here
<img src="/cgi-bin/Count.cgi?df=sample.dat&sh=F">

Bangla digits
<img src="/cgi-bin/Count.cgi?ft=0&df=sample.dat&dd=bang&comma=T">

show the counter version
<img src="/cgi-bin/Count.cgi?display=version">

No datafile specified with df ,therefore, random digits will be displayed
<img src="/cgi-bin/Count.cgi?ft=0">

digit style B
<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=B">

digit style C,display comma if more than 3 digits
<img src="/cgi-bin/Count.cgi?df=sample.dat&dd=C&comma=T">

digit style D
<img src="/cgi-bin/Count.cgi?ft=3&df=sample.dat&dd=D">

digit style E, make white transparent
<img src="/cgi-bin/Count.cgi?trgb=ffffff&df=sample.dat&dd=E">

red frame with default thickness
<img src="/cgi-bin/Count.cgi?df=sample.dat&frgb=ff0000">

Hidden counter
<img src="/cgi-bin/Count.cgi?df=sample.dat&sh=F">

literal string with comma
<img src="/cgi-bin/Count.cgi?lit=94032048040320&comma=T&dd=D&ft=2">

frame color can be Red,Green and Blue triplets
<img src="/cgi-bin/Count.cgi?ft=4&lit=0123456&frgb=0;0;255">

frame color can be hex as well,using blue here
<img src="/cgi-bin/Count.cgi?ft=4&lit=0123456&frgb=0000ff">

frame color can be a name as well
<img src="/cgi-bin/Count.cgi?ft=4&lit=0123456&frgb=Gray">

change green digit-color to default pen color
<img src="/cgi-bin/Count.cgi?lit=1234567&chcolor=T">

change green digit-color to yellow
<img src="/cgi-bin/Count.cgi?lit=1234567&srgb=00ff00&prgb=ffff00">

show time (12 hr format)
<img src="/cgi-bin/Count.cgi?display=clock">

show time (12 hr format) don't pad hr with zero
<img src="/cgi-bin/Count.cgi?display=clock&pad=F">

show time (24 hr format)
<img src="/cgi-bin/Count.cgi?display=clock&tformat=24">

show GMT Time
<img src="/cgi-bin/Count.cgi?display=clock&timezone=GMT+0000">

show time of Dhaka (GMT+0600),Bangladesh
<img src="/cgi-bin/Count.cgi?display=clock&timezone=GMT+0600">

show date (MM-DD-YY)
<img src="/cgi-bin/Count.cgi?display=date&dd=cdr">

show date (DD-MM-YY)
<img src="/cgi-bin/Count.cgi?display=date&dformat=ddmmyy">

show date (DD-MM-YYYY) use YYYY to show full year
<img src="/cgi-bin/Count.cgi?display=date&fy=T&dd=cd&dformat=ddmmyyyy">

show date (DD-MM-YY) use fy to show full year
<img src="/cgi-bin/Count.cgi?display=date&fy=T&dd=cd&dformat=ddmmyy">

make the green color transparent,no frame
<img src="/cgi-bin/Count.cgi?df=sample.dat&trgb=00ff00">

make the black color transparent
<img src="/cgi-bin/Count.cgi?df=sample.dat&trgb=000000">

make the black color transparent,change green color to a shade of gray
<img src="/cgi-bin/Count.cgi?srgb=00ff00&prgb=101010&df=sample.dat&trgb=000000">

display Lenna's image, also increment counter silently
<img src="/cgi-bin/Count.cgi?display=image&dd=D&image=lenna.gif
&df=sample.dat&incr=T&frgb=8B6508&ft=20">


composite counter at the bottom center of the image, make white transparent
<img src="/cgi-bin/Count.cgi?image=foo.gif&dd=E&comma=T&df=sample.dat
&align=bottomcenter&tr=T&trgb=ffffff">


composite counter at the top center of the image, offset is 5 pixels from top
<img src="/cgi-bin/Count.cgi?image=yeehaw.gif&dd=A&df=sample.dat
&comma=T&align=topcenter&offset=5&ft=4">


composite counter at the bottom center of the image, make black transparent
<img src="/cgi-bin/Count.cgi?image=peng.gif&dd=A&df=sample.dat
&comma=T&align=bottomcenter&offset=40&trgb=000000&ft=0">


rotate 270 degrees. Note, degrees are implied here
<img src="/cgi-bin/Count.cgi?ft=0&df=sample.dat&rotate=T&dd=D">

rotate 180 degrees
<img src="/cgi-bin/Count.cgi?ft=0&df=sample.dat&dd=D&degrees=180">

rotate 90 degree
<img src="/cgi-bin/Count.cgi?
ft=0&df=sample.dat&degrees=90&dd=D&prgb=ffff00">



The frgb= option is currently limited to HEX values only!