I have a custom PHP website hosted on a Plesk(Windows Hosting Server of Godaddy)
When I submit the form, all of the values get updated, but the image does not get updated. This is the error shown on the page
PHP Warning: move_uploaded_file(../../../uploads/channels/3.jpg): failed to open stream:
Permission denied in G:\PleskVhosts\dramatainment.com\httpdocs\dashboard\admin\actions\update_queries.php on line 50
PHP Warning: move_uploaded_file(): Unable to move 'C:\Windows\Temp\php5E2E.tmp' to '../../../uploads/channels/3.jpg' in G:\PleskVhosts\dramatainment.com\httpdocs\dashboard\admin\actions\update_queries.php on line 50
I am using the code that I got from w3schools.com here is the link to that script http://www.w3schools.com/php/php_file_upload.asp
Any help would be greatly appreciated.