TOC PREV NEXT GLOSSARY INDEX

Page Counter script

The Counter script enables you to use counters on your pages. These counters track the number of times visitors access a specific page within your site.

You can find more information on the Page Counter script and additional examples at http://www.muquit.com/muquit/software/Count/Count2_5-ex.html.

To create a counter and incorporate it in you Web page:

  1. Insert the following in the HTML page on which you want to include a counter:

    <img src="/cgi-bin/Count.cgi?df=yourdomainname/filename.dat">

    Where yourdomainname is the name of your domain and filename is the name of the counter you are creating. You can name your file anything you like (as long as it adheres to file name rules for UNIX operating systems).
  2. The specified data file will be automatically created in your home directory.

To change the value of a counter:

  1. Connect to your home directory and locate the counter file you want to modify, for example counter.dat.
  2. Download the file in ASCII mode.
  3. Open the file and change the number as necessary.
  4. Save and upload the file.

TOC PREV NEXT GLOSSARY INDEX