Getting Page Names for a counter script | | Folks,
I'm trying to use a text counter called be_counter that requires this line in
my code:
<SCRIPT SRC="/cgi-bin/be_counter.cgi?mode=nossi"></SCRIPT>
If I add: ;file=index to the above script a page named index.ctr is created
and the count is pulled from there. If I add: ;file=about to the above script
a page named about.ctr is created, and so on.
This works just fine for one page but a website I've got uses templates and I
need to find a way to have the default script create an individually named
file for each page the script is on which means it needs to be able to grab
the filename of the current page and pass that onto the CGI in place of ;file=
Is there a way I can alter the script above to include the name of the current
page so that one script will work on the site?
Thanks,
Jeff |