Warning: Copy( ) [function.copy]: Failed To Open Stream: Permission Denied

Forums » PHP » Warning: Copy( ) [function.copy]: Failed To Open Stream: Permission Denied
This Page Contains information about Warning: Copy( ) [function.copy]: Failed To Open Stream: Permission Denied By stalionboy with 8 Replies. Last Upated: Fri Apr 11, 2014
Can you tell me why I am getting this error:

CODE:
Warning: copy(directory/path/picture.gif) [function.copy]: failed to open stream: Permission denied in /var/www/html/web/images/image.php on line 8


I've tried everything but nothing works????
stalionboy
You are probably getting this error because the permission on your directory are not setup correctly. You need to give "write" permission to the "web" directory for your script to work properly.

To do this, connect to your site with your FTP and give the web/images/ directory permission to write with 777
stalionboy
Yes that was it!

Thank you
Dimas
thank you very much.. this information is very helpful...
whate
29-90-http-imgloadcay0y1wr1.jpg
只有想不到,没有做不到
sanjay
when we upload an image in our site this error will be display
qamar
20-90-pa160875.jpg
nice job performed by you, thanks for it...
nuwan
ya...!IT WORKS
Title: Warning: Copy( ) [function.copy]: Failed To Open Stream: Permission Denied [953]
Tags: warning copy functioncopy failed to open stream permission denied
By , 8 Comments