Calview Netlink WebsiteCalview Netlink - Statistic ServicesCalview Neltink - Webmail ServicesCalview Netlink - Signup
ANNOUNCEMENTS
About Calview Netlink
Services
Tech Support
Contact Us
Local Access Numbers
Price Summary
Terms & Conditions

 

Installing a web counter

Calview Netlink has CGI scripting for people that want to expose a counter for their site. If you would like a quick default setup on how to add a counter to your web page, insert this link below and change the username field to your login name:

<img src="http://www.calview.com/cgi-bin/counter.exe?link=username&style=led">

For advanced users, follow the arguments listed below:

<img src="http://www.calview.com/cgi-bin/counter.exe?arg1=value1&arg2=value2&...&argn=valuen">

where the arguments are:

Arguments (* means required) Possible Values Meaning
link* anything that doesn't contain a space Uniquely identifies the page calling the counter. This is case-sensitive. Use the full path to your homepage.
width 0,1,2,3,4,5,6,7,8 or 9 The width of the resulting image in digits. Extra zeros will be added to the beginning. If the width is too short for the number to be displayed, it is lengthened so that all digits may be displayed. Default is 4.
style* Pick a style from Calview Netlink, for example, led, or the reserved value simple. Should not contain spaces Specifies the set of digits to use of the simple style¹. Should be all lower-case
bgcolour RRGGBB or trans When using the simple style, specifies the background colour of the image, or if trans is used, specifies a transparent background. RRGGBB should be 3 2-digit hex values in one string, similar to the HTML command

<BODY BGCOLOR="RRGGBB">

This argument has no meaning when style does not equal simple. The default is 000000 (black).

fgcolour RRGGBB When using the simple style, specifies the foreground colour of the image. Same format as bgcolour. The default is FFFFFF (white).

Notes:

¹ The simple style looks like this: COUNTEREXAMPLE3.GIF (101 bytes) This style requires less disk I/O and thus (should) execute more quickly.

Examples:

Here are some examples of using the counter. You should change /cgi-bin/ to the name of your server's CGI directory if different.

<img src="/cgi-bin/counter.exe?link=myhomepage&style=led">
COUNTEREXAMPLE1.GIF (203 bytes)

<img src="/cgi-bin/counter.exe?link=page2&style=odometer&width=7">
COUNTEREXAMPLE2.GIF (2129 bytes)

<img src="/cgi-bin/counter.exe?link=page3&style=simple&bgcolour=00ffff&fgcolour=ff0000">
COUNTEREXAMPLE3.GIF (101 bytes)


Calview Footer