Logo


hawknetnz.co.nz Customer Support Pages


Page Counter Script

Page Counter

Adding a page counter to your web site is simple. All you need to do is add the following line into your HTML page where you want the counter to appear and replace yourdomain.com with your own domain name:

<!--#exec cgi="http://www.yourdomain.com/cgi/counter.cgi" -->

You will need to call your HTML web page filename.shtml - otherwise the counter will not appear. You cannot use the extension .htm or .html on your filename.

If you would like to use a different style of digits, you can download a new style by clicking on a link below. Uncompress the ZIP file and replace the old GIF files in your /cgi/digits directory with any of the new ones using your FTP program. The counter will automatically show the new style when your page is accessed.

Make your counter display a different amount of hits
To make the page counter show a different amount of hits, create a text file called counter.txt (using a text editor such as notepad). Type in a number such as 1000, then save the file in a location on your hard drive. Using your FTP program, upload the saved file into your /cgi directory, replacing the existing file.

Create your own set of digits using GIF files
You can create your own set of digits by naming each digit a GIF file from 0 to 9 (i.e. The number 1 will be called 1.gif etc). Upload these files into your /cgi/digits directory using an FTP program.

Return To The Support Homepage

 
 

Copyright 2000, hawknetnz.co.nz. All Rights Reserved