Jump to content

Php File Upload


afawcett
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...