Example page for Count 2.6

Generated by the program testcount-sh

For NT and other platforms, replace Count.cgi with Count.exe. In the examples, few number of digits are used for brevity, by default, the counter can handle 80 digit long number (10^80)-1, which is a very large number, that is if data is not edited by hand, it is IMPOSSIBLE to overflow the counter meaning universe will run of energy before the counter overflows. The default settings in count.cfg file is to ignore reload, so all the consecutive hits may show the same number. To count reload from the same host set count_reload=Yes in count.cfg file. Note: these examples do not cover all the capabilities of the counter. Please read the Counter documentation for details.

Simple, no frame, digit style A (default)
<img src="/cgi-bin/Count.cgi?ft=0" alt="Count">
ft=0

Frame color and thickness specified,show comma
<img src="/cgi-bin/Count.cgi?ft=6&frgb=ff0000&comma=T" alt="Count">
ft=6&frgb=ff0000&comma=T

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

monitor the hidden counter from another page
<img src="/cgi-bin/Count.cgi?dbkey=c9db569cb388e160e4b86ca1ddff84d7" alt="Count">
dbkey=c9db569cb388e160e4b86ca1ddff84d7

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

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

countdown to Year 2000, show the from date(sfd) below
prgb (pen RGB) can be used to change the sfd color
<img src="/cgi-bin/Count.cgi?cdt=2000;1;1;0;0;0&sfd=T&prgb=0000ff&dd=cd&ft=2&frgb=000000" alt="Count">
cdt=2000;1;1;0;0;0&sfd=T&prgb=0000ff&dd=cd&ft=2&frgb=000000

countdown from New York to Today (Oct 14 2001) From Oct 14 2000
<img src="/cgi-bin/Count.cgi?cdf=2000;10;14;0;0;0&display=countdown&dd=cdr&timezone=GMT-0500&sfd=T&ft=4" alt="Count">
cdf=2000;10;14;0;0;0&display=countdown&dd=cdr&timezone=GMT-0500&sfd=T&ft=4

countdown to a specific date ,say 8 AM, Feb 1 2010
<img src="/cgi-bin/Count.cgi?cdt=2010;2;1;8;0;0&sfd=T&dd=cdd&ft=2" alt="Count">
cdt=2010;2;1;8;0;0&sfd=T&dd=cdd&ft=2

countdown to past Feb 1 1998 8 AM
<img src="/cgi-bin/Count.cgi?cdt=1998;2;1;8;0;0&sfd=T&dd=cd&ft=2&negate=T" alt="Count">
cdt=1998;2;1;8;0;0&sfd=T&dd=cd&ft=2&negate=T

difference between Jul 16,1999 10 PM and Jul 17 1999 10AM
<img src="/cgi-bin/Count.cgi?cdf=1999;7;16;22;0;0&cdt=1999;7;17;10;0;0" alt="Count">
cdf=1999;7;16;22;0;0&cdt=1999;7;17;10;0;0

countdown to year 2000 from Jul 17, 1999
<img src="/cgi-bin/Count.cgi?cdf=1999;7;17;0;0;0" alt="Count">
cdf=1999;7;17;0;0;0

digit style B
<img src="/cgi-bin/Count.cgi?dd=B" alt="Count">
dd=B

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

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

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

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

Hidden counter
<img src="/cgi-bin/Count.cgi?sh=F" alt="Count">
sh=F

literal string with comma
<img src="/cgi-bin/Count.cgi?lit=94032048040320&comma=T&dd=D&ft=2" alt="Count">
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" alt="Count">
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" alt="Count">
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" alt="Count">
ft=4&lit=0123456&frgb=Gray

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

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

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

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

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

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

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

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

show date (DD-MM-YY)
<img src="/cgi-bin/Count.cgi?display=date&dformat=ddmmyy" alt="Count">
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" alt="Count">
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" alt="Count">
display=date&fy=T&dd=cd&dformat=ddmmyy

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

make the black color transparent
<img src="/cgi-bin/Count.cgi?trgb=000000" alt="Count">
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&trgb=000000" alt="Count">
srgb=00ff00&prgb=101010&trgb=000000

display Lenna's image, also increment counter silently
<img src="/cgi-bin/Count.cgi?display=image&dd=D&image=lenna.gif&incr=T&frgb=8B6508&ft=20" alt="Count">
display=image&dd=D&image=lenna.gif&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&align=bottomcenter&tr=T&trgb=ffffff" alt="Count">
image=foo.gif&dd=E&comma=T&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&comma=T&align=topcenter&offset=5&ft=4" alt="Count">
image=yeehaw.gif&dd=A&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&comma=T&align=bottomcenter&offset=40&trgb=000000&ft=0" alt="Count">
image=peng.gif&dd=A&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&rotate=T&dd=D" alt="Count">
ft=0&rotate=T&dd=D

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

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

Use TrueType font Trebuchet
<img src="/cgi-bin/Count.cgi?font=trebuc.ttf" alt="Count">
font=trebuc.ttf

Use TrueType make background black foreground red
<img src="/cgi-bin/Count.cgi?font=trebuc.ttf&bg=000000&fg=ff0000&smooth=F" alt="Count">
font=trebuc.ttf&bg=000000&fg=ff0000&smooth=F

Use TrueType font Trebuchet, make white transparent
<img src="/cgi-bin/Count.cgi?font=trebuc.ttf&trgb=ffffff" alt="Count">
font=trebuc.ttf&trgb=ffffff

Use TrueType font Trebuchet,make x and yres 300 dpi
<img src="/cgi-bin/Count.cgi?ft=4&font=trebuc.ttf&xres=300&yres=300" alt="Count">
ft=4&font=trebuc.ttf&xres=300&yres=300

use cformat for countdown
<img src="/cgi-bin/Count.cgi?font=trebuc.ttf&sdhms=F&cdf=1993;2;12;0;0;0&cformat=Warren is %d years %d months and %d days old today" alt="Count">
font=trebuc.ttf&sdhms=F&cdf=1993;2;12;0;0;0&cformat=Warren is %d years %d months and %d days old today

Muhammad A Muquit
Generated on: Tue Dec 23 13:03:30 CST 2003 by testcount-sh (1.3)