shockhazard Posted October 20, 2008 Share Posted October 20, 2008 I am new to php and have a problem with an upload file app I keep getting the following error messages: Warning: move_uploaded_file(uploads/bg.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/design/public_html/TESTSITE/uploadFile.php on line 31 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phprhFRuZ' to 'uploads/bg.jpg' in /home/design/public_html/TESTSITE/uploadFile.php on line 31 The file has successfully uploaded: bg.jpg (2130) the 2 code files used are attached one extension has been changed so I could upload it [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/129166-problem-with-an-upload-file-app/ Share on other sites More sharing options...
Bendude14 Posted October 20, 2008 Share Posted October 20, 2008 are you testing local? do you have full permissions in the folder you are trying move the files from and too? Link to comment https://forums.phpfreaks.com/topic/129166-problem-with-an-upload-file-app/#findComment-669677 Share on other sites More sharing options...
shockhazard Posted October 20, 2008 Author Share Posted October 20, 2008 testing on the web server, and unsure about permissions Link to comment https://forums.phpfreaks.com/topic/129166-problem-with-an-upload-file-app/#findComment-669684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.