(Answer) (Category) PRW.NET FAQ's : (Category) Web Hosting :
How can I add a counter to my pages ?
All PRW.NET web servers have access to a simple CGI program to create page counters. This counter is implemented as a SSI (Server Side Include). To add it to a page you need to add the following HTML tag at the location where you desire to display the digits:

<!--#exec cmd="./cgi-bin/count.cgi ./logs/index.cnt ./images/digits/"-->

Business accounts should use:

<!--#exec cmd="../cgi-bin/count.cgi ../logs/index.cnt ./images/digits/"-->

The arguments are:


/cgi-bin/count.cgiCounter program
/logs/index.cntData file for the counter (you can have a different one for each page; this should be initialized via FTP)
/images/digitsImages for digits (you can use different ones on each page; see www.digitmania.com for options)

You can also install your own counter based on CGI. If FrontPage extensions are enabled on your account (e.g. business accounts) and you design your pages using FrontPage we suggest using the FrontPage Counter Element since that is implemented on the FrontPage extensions at the server.

1999-Oct-09 8:49pm
Previous: (Answer) How can I use my assigned web space ?
Next: (Answer) Can I display a message to my visitors when a page is not found ?
This document is: http://www.prw.net/cgi-bin/fom?file=26
[Search] [Appearance]
This is a Faq-O-Matic 2.721.

Please send any suggestions, comments or problem reports to our webmaster
(C) 1999-2007 PR WebMasters