Re: [PHP] fopen failing, permission denied

2006-02-28 Thread Chris
Dan Baker wrote: 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 i

[PHP] fopen failing, permission denied

2006-02-28 Thread Dan Baker
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 the