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 >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 > >Thanks >Fahad > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php