Demonstrates Hit Counter Header

Hi, this is a sample html page which demonstrates how a counter can be added.

The html for the "footer" below would normally be in a common macro in a single header file and if you don't tell it which counter you wish to show a new counter will be automatically created based on the name of the html file. This requires zero effort as pages are added.

You can also display the current values of all your counters in a "counter page" (you can arrange them in groups if you wish). This relies on you setting "HITCOUNT_COUNTER_MEMPATH" macro to hold a location where counter information can be stored. You can control extensions or filenames to control grouping for any reports you might wish to create.

The following code shows how a report (of all counters in a particular directory) could be displayed:

           <$HitCountTable PATH="<$HITCOUNT_COUNTER_MEMPATH>">
           

Thursday, 8 Mar 2001 7:38:22pm


Where can PPWIZARD & It's Headers be found?

In case you got here via a search engine or a link from another site you can download the header file used in this sample page ("HITCOUNT.IH") and ppwizard itself (my free html preprocessor) from the ppwizard download page at:

PPWIZARD can be thought of as a "Super SSI", it can include external files and do most of the things that server side includes can (and heaps more) but do them in a simpler manner and have no impact or requirements on the server.

PPWIZARD is the most powerful mechanism available for code reuse and automation of common tasks. See the PPWIZARD pages for more details.


Thursday March 08 2001 at 7:38pm