Dear All,
I have some problem with hit counter. It gives unexpected value when it is called by another page.
I have attached herewith the both files.
I want some help for correct this.
skc
i quess this is the problem:
change into this from the 38. line in index.php
require_once "counter.php"; $filename = basename($_SERVER['PHP_SELF']); $filename = str_replace(".php","",$filename); echo HitCounter($filename);
And see what happens.