I'm trying to get a hitcounter to work and am having trouble with the file_exists() method failing.
Looking at the folders and files, I think everything is in place. Are there other reasons for file_exists()
to return FALSE? How do I find them and fix them.
Returned to browser:
ERROR: Invalid log file!logs/test.txt
$logfile = 'logs/' . $page . '.txt';
die('ERROR: Invalid log file!' . $logfile);
When I look in the counters folder I see a logs folder. In the logs folder is a file: test.txt