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

 How do I setup an invisible counter?

 
Answer
 
Put this code in place of the normal counter code if you do not want the counter to be visible.

<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.If you prefer to FTP to view your data file, do the following:

    • FTP to your server.

    • Go to the '/usr/local/etc/Counter/data/' directory.

    • Find the data file of the counter you wish to view (ie. example1.dat)

    • Download the data file to your computer (make sure you are transferring it as an ASCII file!)

    • Open the data file with a text editor and you will see the current count.


  2. Create a html page to view counter data file. If you prefer to view your count in an html page, do the following:

    • Create a page with the following code for the counter.
      <img src="/cgi-bin/Count.cgi?ft=5|dd=C|incr=0|frgb=255;255;255;&df=datafile.dat">
      With datafile.dat being the data file for your invisible counter.

    • Ftp the html file to your /www/htdocs directory.

    • View the file in your browser. This will not update the count for the counter.
 
Related Links
 
How do I use Count.cgi?
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.