This commit is contained in:
Juli 2024-06-04 08:19:56 +00:00
parent 7f60d8ef58
commit 712e6a7b45

View file

@ -1,10 +1,5 @@
<?php
$counter_name = "about_visitors.txt";
if (!file_exists($counter_name)) {
$f = fopen($counter_name, "w");
fwrite($f,"0");
fclose($f);
}
$f = fopen($counter_name,"r");
$counterVal = fread($f, filesize($counter_name));
fclose($f);