<?php $imageFileType = 'JPG'; if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg" && $imageFileType != "gif" && $imageFileType != "JPG" ) { echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed."; } else { echo 'Correct'; }
You have javascript disabled. You will not be able to edit any code.