Zkuste toto:
if ($_FILES["photo"]["type"] == "image/gif" ||
$_FILES["photo"]["type"] == "image/jpeg" ||
$_FILES["photo"]["type"] == "image/pjpeg" ||
$_FILES["photo"]["type"] == "application/zip" ||
$_FILES["photo"]["type"] == "application/pdf" ||
$_FILES["photo"]["type"] == "application/msword" ||
$_FILES["photo"]["type"] == "application/vnd.openxmlformats-officedocument.wordprocessingml.document")
Na různé typy MIME se můžete podívat zde:http://en.wikipedia.org/wiki/ Internet_media_type