PHP: is_uploaded_file - Manual - PHP: Hypertext Preprocessor
The example brought out does not work as supposed to: function is_uploaded_file($filename) { if (!$tmp_file = get_cfg_var('upload_tmp_dir')) { $tmp_file = dirname(tempnam('', '')); } $tmp_file .= '/' . basename($filename); /* User might have trailing slas...