$array = array("application/vnd.ms-excel", "application/msword", "application/zip", "application/rtf");
if (!in_array($_FILES['imagefile']['type'], $array))
{
echo "An unexpected error has occured. Please view the <A href='help.php'>help file</A> for more information!";
exit;
}
I tried uploading .zip and .rtf with no luck. Any help appreciated!
Joe