$_FILES['upfile']['tmp_name'] 获取php.ini 存放路径 php.ini 里 upload_tmp_dir 设置一个全新的目录 转载于:https://www.cnblogs.com/justnotwo/p/10297815.html