I have uploaded a file using HTML / PHP and following is the print_r() of the $_FILES[\'file\'] array:
Array ( [name] => Chrysanthemum.jpg [type] =>
Php file upload temporary directory is a php config variable located on php.ini file.
You can get the variable config value by using ini_get function.
ini_get
$path = ini_get('upload_tmp_dir'); // your code here