[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] PHP permissions



I'm trying to get a hit counter working.

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:-

Warning: fopen("./count.dat","w") - Permission denied in
/home/sites/home/web/ip_1.php on line 37

What permission does it need ?

Me script works fine on good ol' win 2k server with php4 onboard.

Any help would be appreciated.

Thanks
Martin