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