Where does PHP save temporary files during uploading?

前端 未结 8 1433
情书的邮戳
情书的邮戳 2021-02-07 05:50

I am using XAMPP on Windows. By printing $_FILES[\"file\"][\"tmp_name\"], it seems that the temporary file was saved at C:\\xampp\\tmp\\phpABCD.tmp. But I cannot se

8条回答
  •  猫巷女王i
    2021-02-07 06:23

    from http://www.php.net/manual/en/features.file-upload.php#93602, "...the uploaded file will inherit the permissions of the directory specified in the directive upload_tmp_dir of php.ini. If this directive isn't set, the default of C:\Windows\Temp is used..."

提交回复
热议问题