
Page Access Counters
This page has been accessed
times.
Introduction
You can place an odometer style counter on one or more of your web pages. Although many
vital statistics can be reviewed via the stats program in your Control Panel, sometimes
you may want to advertise the number of "hits" to a specific web page.
How to use
Add the following line of code to an HTML document to display a counter:
The key should begin with the userid of the account
being updated. For example, if the userid entered is "xyzcom", the counter
key should begin with the same character string (e.g. xyzcom3, xyzcom-counter).
If you would like to add a counter to more than one page, be sure to use a
different key to distinguish between each of them (e.g. userid1, userid2).
The newcount script resides in the server's cgi-bin
directory and can be referenced from your HTML as if it were within your own account. The
script does NOT reside in your cgi-local directory and is preinstalled for your
convenience.
To change the number of digits displayed in the counter,
adjust the value of the width attribute. To display an odometer style counter,
merely substitute the word "odometer" for "digital".
Back to Main Menu |