What can cause the PHP code fopen("filename ","a") to fail with
permission denied message as below?
------------------
Warning: fopen(filename) : failed to open stream: Permission denied in
/home/lookout/u2/kmei/www/test1.php on line 14
------------------
I write a short PHP code that works fine on my own apache server, but it
doesn't work after I upload it to the university server. Note that
'chmod 777 filename' works as expected.
thanks
permission denied message as below?
------------------
Warning: fopen(filename) : failed to open stream: Permission denied in
/home/lookout/u2/kmei/www/test1.php on line 14
------------------
I write a short PHP code that works fine on my own apache server, but it
doesn't work after I upload it to the university server. Note that
'chmod 777 filename' works as expected.
thanks
Comment