$ filename = "count.txt";
$ fp = fopen ($ filename, "r");
$ Num = FREAD ($ FP, FileSize);
Fclose ($ fp);
$ Num1 = $ NUM 1;
$ fp1 = fopen ($ filename, "w");
FWRITE ($ FP1, $ Num1);
Fclose ($ fp1);
?>
Build a count file. Each time you call plus one, no this file will be created automatically