简体   繁体   English

什么时候会删除$ _FILES ['file'] ['tmp_name']?

[英]When will $_FILES['file']['tmp_name'] be removed?

上传的文件将存储在名为$_FILES['file']['tmp_name']的临时文件夹中的某个位置?

It is in the documentation : 它在文档中

The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed. 如果文件尚未移出或重命名,则该文件将在请求结束时从临时目录中删除。

一旦提交的PHP脚本也完成运行,它就会被删除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM