search

Home  >  Q&A  >  body text

Excuse me, I showed that the upload was successful and the error was 0, but the file could not be found in the temporary directory.

Excuse me, I show that the upload is successful and the error is 0, but the file cannot be found in the temporary directory. What is going on?

array(1) {
["myfile"]=>
array(5) {
["name"]=>
string(10) "img084 .jpg"
["type"]=>
string(10) "image/jpeg"
["tmp_name"]=>
string(17) "D:\tt\ php764D.tmp"
["error"]=>
int(0)
["size"]=>
int(982743)
}
}
img084.jpgimage/jpegD:\tt\php764D.tmp9827430
Warning: copy($tmp_name): failed to open stream: No such file or directory in D:\phpStudy\WWW\upload\up.php on line 20

phpcn_u1834phpcn_u18342754 days ago1103

reply all(1)I'll reply

  • 滔先生®

    滔先生®2017-06-15 01:39:01

    D:tt Isn’t this one included?

    You can upload on the left and temporary on the right. Then you execute the upload and you will find a file flashing past... [No hahaha expression...]

    reply
    0
  • Cancelreply