ok im having this issue with the format that is in an array() when comparing it to the $_FILES type
$allowed = array('png', 'jpg', 'jpeg', 'gif');if($ptype != $allowed){ $errors[] = 'This format isnt allow</br>Accepted formats are as followed: PNG, JPG, JPEG, GIF';}
when i try to upload a .tiff, .doc, .txt file it still upload but once i upload the correct file it displays the error message
any tips, hint, advice on how i can go about fixing this?