PHP Options/Info
PHP Manual

sys_get_temp_dir

(PHP 5 >= 5.2.1)

sys_get_temp_dir — Returns directory path used for temporary files

说明

string sys_get_temp_dir ( void )

Returns the path of the directory PHP stores temporary files in by default.

返回值

Returns the path of the temporary directory.

参见


PHP Options/Info
PHP Manual