Add the following to your HTML page:
<!--#include virtual="/cgi-bin/counter.cgi"-->
If you want to have seperate counters for different directories, you can specify subdir=DIRECTORYNAME in your statement.
<!--#include virtual="/cgi-bin/counter.cgi?subdir=directory1"-->
If you want to have seperate counters for different files, you can specify page=PAGENAME in your statement.
<!--#include virtual="/cgi-bin/counter.cgi?page=name"-->
You can combine the directory and page commands. To do this, use a question mark in front of the first command, and the ampresand in front of other commands:
<!--#include virtual="/cgi-bin/counter.cgi?subdir=directory1&page=name"-->
If you want to customize the counter style, include the style=STYLENAME in your statement.
<!--#include virtual="/cgi-bin/counter.cgi?style=swirl"-->
<!--#include virtual="/cgi-bin/counter.cgi?style=bluepl&subdir=directory1"-->
Creating a hidden counter:
To hide the counter, simply wrap your counter code within another HTML comment, like this:
<!--
<!--#include virtual="/cgi-bin/counter.cgi"-->
-->
To view your hits, add "/count.txt" to your domain name on the location bar, i.e. you would access the counter for myname.com by typeing in http://myname.com/count.txt.
Available counter styles are below (click link to view digits):
|