Claranet has supplied as a standard part of their Web-Server, a
public link to the "cgi-bin", where such useful programs as the Web
Page Counter can be accessed. Web counters can be very useful,
both as a reference tool for the owner of the page to see how many
visitors they have, and to the 'surfer' to see the popularity of the
page they are visiting. The embedding of a web counter into a
page is very easy:
<HTML>
<HEAD>
<TITLE> My Page Title</TITLE>
</HEAD>
<BODY>
<BR>
This is a page to test the Web Counter feature...
<BR>
This page has been accessed
<IMG SRC="/cgi-bin/count.cgi?df=[your_login_name].dat"> times.
</BODY>
</HTML>
Note: As my login name is pi I would replace the above line:
<IMG SRC="/cgi-bin/count.cgi?df=[your_login_name].dat"> with:
<IMG SRC="/cgi-bin/count.cgi?df=pi.dat">
The Web Counter has many attributes which can be changed to alter
the resulting image. These attributes are collected together in the
call to the count.cgi and are joined by "&" characters. For example:
<IMG SRC="/cgi-bin/count.cgi?attribute1=value1&attribute2=value2">
Taking this into account, follow some examples of the associated
attributes below.
![]()
<img src="/cgi-bin/count.cgi?df=your_login_name].dat&dd=A">
![]()
<img src="/cgi-bin/count.cgi?df=your_login_name].dat&dd=B">
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=C">
![]()
<img src="/cgi-bin/count.cgi?df=your_login_name].dat&dd=D">
![]()
<img src="/cgi-bin/count.cgi?df=your_login_name].dat&dd=E">
ft stands for frame thickness, this is the attribute which describes
the thickness of the frame. ft=0 will 'switch off' the frame option.
ft=0 to ft=8 gives the following examples:
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=A&ft=0">
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=A&ft=2">
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=A&ft=4">
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=A&ft=6">
![]()
<img src="/cgi-bin/count.cgi?df=[your_login_name].dat&dd=A&ft=8">
Display describes the resultant display type to be produced. This can be set to be a counter, a clock or date. display=counter to display=date gives the following examples:
![]()
<img src="/cgi-bin/count.cgi?df=[username]. dat&display=counter">
![]()
<img src="/cgi-bin/count.cgi?display=clock">
![]()
<img src="/cgi-bin/count.cgi?display=date">