Ask Your Question
2

What does "Unable to move '/'" mean in PHP's move_uploaded_file() function?

asked 2022-12-24 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-12-06 07:00:00 +0000

devzero gravatar image

The error message "Unable to move '/'" in PHP's moveuploadedfile() function indicates that the file upload failed because the destination directory specified for moving the uploaded file is invalid or inaccessible. The '/' character is the root directory of the file system and may be used as a prefix to indicate an absolute path. This error message may occur if the destination directory does not exist, or if the permissions on the directory prevent moving the file to that location.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-12-24 11:00:00 +0000

Seen: 10 times

Last updated: Dec 06 '21