1 BUAHAAAA!!!!! :) - Pekka
8 // $datafile has to be writable by http server user uid
9 // else hits count will not be increased, only printed out
11 $datafile = $DocRoot."COUNTER";
13 if (Is_Writable($datafile)) {
14 $fp = FOpen($datafile, "r+");
18 if (Is_Readable($datafile)) $fp = FOpen($datafile,"r");
21 $hits = FGets($fp,255) + 1;