Hey guys, this is my first post.
I'm having problems with a flat-file unique hits counter which I found online at in obscuro.
I installed everything properly, but whenever I try going to the "showcounter.php" file to display the total amount of hits I have received, the page freezes up and I get an error_log in my folder which displays this:
PHP Warning: fread(): supplied argument is not a valid stream resource in /directory/showcounter.php on line 12 PHP Warning: feof(): supplied argument is not a valid stream resource in /directory/showcounter.php on line 11
Now, I do not believe that I am allowed to post the code used, but in the link above I linked to the tutorial which I got the code from. The link is legit and you don't have to download anything, I promise.
Thank you in advance!