See also the function entries for is_uploaded_file() and move_uploaded_file() for further information.
?; php if (is_uploaded_file($userfile)) {copy($userfile, "/ dossier / des / fichiers / telecharges / ");} else {echo "Attaque potentielle par fichier téléchargé: fichier '$userfile' .";} / * ...ou... * / move_uploaded_file($userfile," / dossier / des / fichiers / telecharges");?