limiter le type de fichier

Solutions on MaxInterview for limiter le type de fichier by the best coders in the world

showing results for - "limiter le type de fichier"
Valerio
22 May 2020
1
2// Allow certain file formats
3if($imageFileType != "jpg" && $imageFileType  != "png" && $imageFileType != "jpeg"
4&& $imageFileType != "gif" ) {
5  echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
6  $uploadOk = 0;
7}
8
similar questions
queries leading to this page
limiter le type de fichier