When the server uses php to receive image files, an error is returned when move_uploaded_file () is used.

Source: Internet
Author: User
Tags tmp folder
{Code ...}
[19-Feb-2016 12:45:35 Asia/Shanghai] PHP Warning: move_uploaded_file (D: \ USERS \ userlogo \ abc1234.png): failed to open stream: Permission denied in D: \ USERS \ 2.php on line 16 [19-Feb-2016 12:45:35 Asia/Shanghai] PHP Warning: move_uploaded_file (): Unable to move 'C: \ websoft \ php \ tmp \ php54.tmp 'to 'd: \ USERS \ userlogo \ abc1234.png 'in D: \ USERS \ 2.php on line 16 is this C: \ websoft \ php \ tmp folder with insufficient permissions? Permission configuration: how can this problem be solved?

Reply content:
[19-Feb-2016 12:45:35 Asia/Shanghai] PHP Warning: move_uploaded_file (D: \ USERS \ userlogo \ abc1234.png): failed to open stream: Permission denied in D: \ USERS \ 2.php on line 16 [19-Feb-2016 12:45:35 Asia/Shanghai] PHP Warning: move_uploaded_file (): Unable to move 'C: \ websoft \ php \ tmp \ php54.tmp 'to 'd: \ USERS \ userlogo \ abc1234.png 'in D: \ USERS \ 2.php on line 16 is this C: \ websoft \ php \ tmp folder with insufficient permissions? Permission configuration: how can this problem be solved?

Try another target path

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.