为什么我设置了php.ini的临时上传目录, 然后我上传文件显示成功了,可是什么临时文件夹里没有?
汪汪
汪汪 2016-12-20 11:39:24
0
2
1095

为什么我设置了php.ini的临时上传目录, 然后我上传文件显示成功了,可是什么临时文件夹里没有?

汪汪
汪汪

reply all(2)
数据分析师

Why did I set up the temporary upload directory of php.ini, and then my uploaded file showed that it was successful, but there was no temporary folder? -PHP Chinese Website Questions and Answers-Why did I set up the temporary upload directory of php.ini, and then my uploaded file showed that it was successful, but there was no temporary folder? -PHP Chinese website Q&A

Please watch and learn.

阿神

估计你是用move_uploaded_file()函数上传,上传成功的话系统会自动删除临时文件夹中临时文件。当然你也可以用copy()函数上传,上传成功后临时文件仍然存在,为了避免占用空间,一般还要配合unlink()函数手动删除临时文件。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template