Error 500 move_uploaded_file [duplicate]

0

I have a problem with error 500 , When uploading an image to my page, although I finish uploading, the following error appears when I move the image to the directory: / p>

  

PHP Warning:   move_uploaded_file (../../ img / product / 221_1157-4f6a306c94af679657ced7273b5ad4ea.jpg) [function.move-uploaded-file]:   failed to open stream: Permission denied in   E: \ home \ ghpc \ Web \ v2 \ control \ upload \ upload.php on line 16

I have tried to change the permissions of the directory How to proceed?

    
asked by anonymous 14.04.2015 / 15:44

1 answer

0

Make sure your web server has permissions to write to the "/ product" directory

    
16.04.2015 / 13:50