rsaras,
I have written a very simple counter which uses images named "dg0.gif","dg1.gif"... etc up to "dg9.gif":
// counter.php3
<?
$counter = 0; // you can set this to any number you like
$counter++;
$file = fopen("counter.php3", "r+");
fputs($file, "<?\n\t\$counter = $counter;");
$digits = 5;
$length = strlen($counter);
for ($x=$digits;$x > 0;$x--) {
if ($x > $length) {
echo "<img src=\"dg0.gif\">";
} else {
echo "<img src=\"/dg" . substr($counter,($length - $x),1) . ".gif\">";
}
}
?>
include this code on the page where you want the counter to appear. Obviously this is not a very advanced counter as it will increase every time you click refresh but it does the trick as a visual counter.
HTH
Mike
www.digitalegg.net