 |


|
 |
|
|
Adding a Counter
Standard Counter
- Insert this tag somewhere in the index.html page's HTML:
<img src="http://www.interwrx.com/cgi-local/Count.exe?df=UNIQUENAME.dat &dd=C&st=1&ft=6">
- Change the part in the middle that says "UNIQUENAME.dat" to a unique name like "johnsdata.dat" (without quotes). It is useful to use your username for this one since you know it is unique. Make sure that you include the ".dat" part on the end.
- Upload the changed file to the server in its proper location.
Make sure and reload your web page in your browser to see the counter (see the Web Counter Examples page for different counter styles).
Hidden Counter
- Insert this tag somewhere in the index.html page's HTML:
<img src="http://www.interwrx.com/cgi-local/Count.exe?df=UNIQUENAME.dat&sh=F"
height=0 width=0>
- Change the part in the middle that says "UNIQUENAME.dat" to a unique name like "johnsdata.dat" (without quotes) It is useful to use your username for this one since you know it is unique. Make sure that you include the ".dat" part on the end.
- Create an HTML page called counter.html. This page must have this line somewhere in the HTML:
<A HREF="http://www.interwrx.com/cgi-local/Count.exe?df=UNIQUENAME.dat"> number of hits</A>
NOTE: the UNIQUENAME part must be changed to match step 2.
- Place the changed files in their respective locations (upload them to the server along with your other web files).
Once the site is up, go to your web address and add counter.html on the end of the address (for example, if I was using the www.acmeshoes.com index page for the counter, then i'd go to www.acmeshoes.com/counter.html to see the counter. Once you get to that page, click the "number of hits" link and it should show you a counter with the latest information. If the UNIQUENAME has not been used, the count should start at 1. NOTE: the counter does count a hit each time you access the counter.html page so keep that in mind as well.
(See the Web Counter Examples page for different counter styles)
|
|
|  |