fopen failing, permission denied

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

 



I have the following code snippet:
$h = fopen("$path/file.txt", 'x+');

And it generates the following error:
Warning: fopen(/home/...../myarea/file.txt): failed to open stream: 
Permission denied

The path is correct, but the php process doesn't seem to have file 
permissions in the folder.
Is there some magic I can do to allow php to have file rights to the 
"myarea" folder?  (This is on a purchased ISP site)

Thanks
DanB 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux