This did the trick:

elseif ($_FILES['guildimage']['type'] == "image/pjpeg" or "image/jpeg")

Reply via email to