Home > Backend Development > PHP Tutorial > PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

WBOY
Release: 2016-08-18 09:16:29
Original
1304 people have browsed it

Upload the file and print the passed value. The file in the table below the array corresponds to the temporary directory where the above file is stored, but I looked for this directory and found that it does not exist. Can anyone answer it? The picture is below, I will post it
PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

The execution of move_uploaded_file returns false
When moving the temporary file to the target directory, it always returns false. Please answer me

Reply content:

Upload the file and print the passed value. The file in the table below the array corresponds to the temporary directory where the above file is stored, but I looked for this directory and found that it does not exist. Can anyone answer it? The picture is below, I will post it
PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

PHP file upload cannot find the temporary file, and executing move_uploaded_file returns false

The execution of move_uploaded_file returns false
When moving the temporary file to the target directory, it always returns false. Please answer me

php will delete the cache file after the request is completed, so you can only remove it from the program. .

If you want to see it, you can add a sleep and then go into this folder and you should be able to see it

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template