1 2 3 4 5 6 7
<?php if (is_uploaded_file($_FILES['user_file']['tmp_name'])) { print $_FILES['user_file']['name']; } else { print "FAILED"; } ?>