Hi
I'm trying to get a hit counter working with a simple php script
The script needs an empty file "count.dat". Which I have created "touch
count.dat" .
My problem is the file does not have permission to be written to.
I get error:-
#######error in ie5 shows ################################
Warning: fopen("./count.dat","w") - Permission denied in
/home/sites/home/web/ip_1.php on line 37
##################
What / whose permission does it need ?
The directory you are writing to will need write permissions set correctly. See the www.php.net for more information about fopen.
Regards, Glen