I am making a hit counter using a text file; I use PHP to retrieve the number in the file, increment it, and re-write it to the text file.
It worked fine on my machine using Microsoft IIS, but on my friend's server, I get the following message:
Warning: fopen("counter.txt", "wb"
- Permission denied in /Library/WebServer/ on line 234
My friend doesn't know anything about PHP, and I don't know much about Web Servers. Is this a PHP coding issue or a server permission issue? Any ideas on fixing this?
Thank you!!!!
Natwad
It worked fine on my machine using Microsoft IIS, but on my friend's server, I get the following message:
Warning: fopen("counter.txt", "wb"
My friend doesn't know anything about PHP, and I don't know much about Web Servers. Is this a PHP coding issue or a server permission issue? Any ideas on fixing this?
Thank you!!!!
Natwad