[PHP] Re: Help needed / failed to open stream: Permission denied

2005-10-19 Thread Mark Rees
> > > This is line 57 $file_handle = fopen("./" . $file_name, "r"); > > It seems that the user your web server runs as may not have permission to > open that file. Also, you might want to double check that ./$ile_name is a > valid path. And if you're planning to write to the file, you need to spe

[PHP] Re: Help needed / failed to open stream: Permission denied

2005-10-19 Thread David Robley
Ndagi Mutiri wrote: > Hello, > > Trying to read a binary file in MySQL database, i have the following error > : > > Warning: fopen(./) [function.fopen]: failed to open stream: Permission > denied in d:\...\download.php on line 57 > > This is line 57 $file_handle = fopen("./" . $file_name, "r");