An introduction into using the counter in the Easynet public WWW space
An example of the counter is that this page has been viewed times.
You can refer to the program from a web page like this:
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=yourname.filename">Replace yourname with your ftp login name and replace filename with the name of the HTML file the counter is on. Make sure there are no newlines or spaces in this line. You should also replace any "/" characters in the filename with a full stop (.)
An example isFilename: sales/websales.html
Use: <img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=yourname.sales.websales.html">Example: The counter on this page is generated like this:
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=public.Count2_4-ex.html">as the username is public, and this html file is called Count2_4-ex.html.
| simple, no frame,digit style A (default) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat&ft=0">
|
|
| frame with default frame-color and thickness |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat">
|
|
| No datafile specified with df ,therefore, random digits will be displayed |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=0">
|
|
| digit style B |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat&dd=B">
|
|
| digit style C,display comma if more than 3 digits |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat&dd=C&comma=T">
|
|
| digit style D |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=3&df=sample.dat&dd=D">
|
|
| digit style E,frame-thickness=0,white transparent |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?trgb=ffffff&ft=0&df=sample.dat&dd=E">
|
|
| red frame with default thickness |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat&frgb=ff0000">
|
|
| Hidden counter |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?df=sample.dat&sh=F">
|
|
| literal string with comma |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=94032048040320&comma=T&dd=D&ft=2">
|
|
| literal string make black transparent |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=0123456789,:-ap&tr=T&dd=D&ft=2">
|
|
| frame color can be Red,Green and Blue triplets |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=0123456&frgb=0;0;255">
|
|
| frame color can be hex as well,using blue here |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=0123456&frgb=0000ff">
|
|
| change green digit-color to default pen color |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&chcolor=T">
|
|
| change green digit-color to red |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&srgb=00ff00&prgb=ff0000">
|
|
| change green digit-color to yellow |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&srgb=00ff00&prgb=ffff00">
|
|
| change green digit-color to FF7700 |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&srgb=00ff00&prgb=ff7700">
|
|
| Gray frame color |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&frgb=c0c0cc0">
|
|
| NavyBlue frame color |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?lit=1234567&frgb=000080">
|
|
| show time (12 hr format) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=clock">
|
|
| show time (12 hr format) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=clock&tformat=24">
|
|
| show time of Dhaka (GMT+0600) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=clock&timezone=GMT+0600">
|
|
| show date (MM-DD-YY) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=date">
|
|
| show date (DD-MM-YY) |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=date&dformat=ddmmyy">
|
|
| make the green color transparent,no frame |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=0&df=sample.dat&trgb=00ff00">
|
|
| make the black color transparent,frame-thickness=2 |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=2&df=sample.dat&trgb=000000">
|
|
| make the black color transparent,change green color to a shade of gray,frame-thickness=2 |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?srgb=00ff00&prgb=101010&ft=2&df=sample.dat&trgb=000000">
|
|
| make the black color transparent,change green color to a shade of gray,frame-thickness=0 |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?srgb=00ff00&prgb=101010&ft=0&df=sample.dat&trgb=000000">
|
|
| display Lenna's image wrapped with a nice frame |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?display=image&dd=D&image=lenna.gif&frgb=8B6508&ft=20">
|
|
| rotate 270 degrees. Note, degrees are implied here |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=0&df=sample.dat&rotate=T">
|
|
| rotate 180 degrees |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=0&df=sample.dat°rees=180">
|
|
| rotate 90 degrees |
<img src="http://public.www.easynet.co.uk/cgi-bin/Count.cgi?ft=0&df=sample.dat°rees=90">
|
|