This sort of check is especially important if there is any chance that anything done with uploaded files could reveal their contents to the user, or even to other users on the same system.
is_uploaded_file() retourne TRUE si le fichier filename a été téléchargé par HTTP POST.