TOC PREV NEXT INDEX 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.

If you are not familiar with scripting, you can use SiteControl's Script Managers to customize these scripts and automatically generate any necessary HTML code. The Script Managers provide Web-based interfaces that simplify the process of customizing these scripts and walk you through the steps. For more information, see the SiteControl User Guide.

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.

Way2Host
support@way2host.com
© 2003 Way2Host
All rights reserved.

TOC PREV NEXT INDEX INDEX