Jump to content

Php File Upload


afawcett

Recommended Posts

I was follwing the article at:http://www.w3schools.com/PHP/php_file_upload.aspIn the step Saves the uploaded file, I get an error on this line:"upload/" . $_FILES["file"]["name"]);These are my warnings:Warning: move_uploaded_file(upload/IMG_2334.JPG) [function.move-uploaded-file]: failed to open stream: Permission denied in /Users/Andrew/Sites/sound.meukro.org/upload_file.php on line 16Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/private/var/tmp/phpnXMK4t' to 'upload/IMG_2334.JPG' in /Users/Andrew/Sites/sound.meukro.org/upload_file.php on line 16Permission denied? I have the admin account.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...