Computer House Home PageList of products and servicesDrivers, Utilities, Info and More!Learn more about Computer House

 How do I create an invisible counter?

 
Answer
 
To setup an invisible counter, input the line below into your HTML.

<img src="/cgi-bin/Count.cgi?sh=F|df=datafile.dat">

There are two ways to view your counter data.
1. FTP and download the file
2. Create a html page to view counter data file.

If you prefer to FTP to view your count.

1. FTP to your server.
2. Go to the '/usr/local/etc/Counter/data/' directory.
3. Find the data file of the counter you wish to view (ie. example1.dat)
4. Download the data file to your computer (make sure you are transferring it as an ASCII file!)
5. Open the data file with a text editor and you will see the current count.


If you prefer to view your count in an html page.

1. Create a page with the following code for the counter. You can call this hiddencounter.html. Input the following tag on the HTML page, with datafile.dat being the data file for your invisible counter.

<img src="/cgi-bin/Count.cgi?ft=5|dd=C|incr=0|frgb=255;255;255;&df=datafile.dat">

2.Ftp the html file to your /www/htdocs directory.
3.View the file in your browser. This will not update the count for the counter.
 
Related Links
 
Count.cgi home page - http://www.fccc.edu/users/muquit/Count.html
Back to Index

The Computer House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776

Copyright © 2001 Computer House, Inc. All Rights Reserved.