Answers for "Limiter le type de fichier"

CSS
0

Limiter le type de fichier

// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType  != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
  echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
  $uploadOk = 0;
}
Posted by: Guest on September-16-2021

Code answers related to "Limiter le type de fichier"

Browse Popular Code Answers by Language