PHPDocumentParser
PHPDocumentParser copied to clipboard
Function parseFromFile and mime_content_type wrong
Hello
i work with Chrome and the method mime_content_type not retreive good mimetype with my DOCX file or RTF file. Maybe you can test with extension of files to select good function parser to apply? ($extension = pathinfo($filename, PATHINFO_EXTENSION);)
Thanks for your code, very useful indeed.