I have uploaded a file using HTML / PHP and following is the print_r() of the $_FILES[\'file\'] array:
Array ( [name] => Chrysanthemum.jpg [type] =>
$tmp_dir = ini_get('upload_tmp_dir') ? ini_get('upload_tmp_dir') : sys_get_temp_dir();