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 in category PHP with 8 Replies. Last Upated: Thu May 15, 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...
xaxa
please give me a answer
whate
只有想不到,没有做不到
sanjay
when we upload an image in our site this error will be display
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
Comments 8
Visits 14231