<?PHP if (file_exists("counter.txt")){ $f = fopen("counter.txt","r"); $num = fread($f,filesize("counter.txt")); fclose($f); } printf($num); ?>