The only mime-type check I am doing is the following:
if($_FILES["file"]["type"] == "application/octet-stream")
But apparently, this statement comes up TRUE for PPTX, DOCX, (etc) mime types for Office 2008 documents. A Google search came up with some "hacks" to fix it, but they sound "iffy".
Does anyone know how best to deal with this?