[EMAIL PROTECTED] wrote:
>
>...
>
> That's a good scheme, but it means all pages you want to count
> have to be wrapped by a cgi-bin script as opposed to just adding an
> img tag that points to a script within them.
>
Not at all. You can also trigger the hit counter by a server-side
action:
<!--#exec cmd="counterscriptnamegoeshere.r"-->
I believe that the savings from not having to manufacture an image on
the fly more than covers the processing to handle the exec tag.
In addition, the script result (being HTML source) can do more than
just display the image. For example, each page can contain a standard
footer with navigation elements, mod date, etc., with the counter
selected by a page ID argument to the script. Then a single change to
the script can implement a site-wide look-and-feel change with no
opportunity for cut-and-paste errors.
<!--#exec cmd="parameterizedcounterscript.r pageIDhere"-->
Again, it's a trade-off; but I prefer to do the thinking and let the
computer do the crank-turning.
-jn-