Community Support for OpenDocMan (Deprecated)
unknown mimetype when upload file - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: unknown mimetype when upload file (/thread-664.html)



unknown mimetype when upload file - jeff - 01-18-2014

when I upload a doc file which is not generated by MS word. the system give me a error message :" CDF V2 document,corrupt: can't expand summary_info failed". how can i resolve this proplem ,please help me, thanks.

by the way ,I saw the codes in add.php as follows "$file_mime = File::mime($_FILES['file']['tmp_name'][$count], ........", is it's function as same as mime_content_type()?