Re: [PHP-INST] Problem with opening a file

2002-06-06 Thread Chris Hewitt
Fahad, The error message says it is a permission problem. Has the file got permissions for the user that apache is running as (usually "apache" or "nobody") to read it? HTH Chris Fahad Javed wrote: >Hi, >I am using PHP as a Apache module using linux. When I try to open a file it gives me >t

[PHP-INST] Problem with opening a file

2002-06-05 Thread Fahad Javed
Hi, I am using PHP as a Apache module using linux. When I try to open a file it gives me the following warning in the browser Warning: fopen("/var/www/html/fjaved/temp/proxydemo.c", "r+") - Permission denied in /var/www/html/fjaved/foo.php on line 14 Any ideas suggestions etc are welcome Than