6 // $datafile has to be writable by http server user uid
7 // else hits count will not be increased, only printed out
9 $datafile = $DocRoot."COUNTER";
11 if (Is_Writable($datafile)) {
12 $fp = FOpen($datafile, "r+");
16 if (Is_Readable($datafile)) $fp = FOpen($datafile,"r");
19 $hits = FGets($fp,255) + 1;