PHPDocumentParser
PHPDocumentParser copied to clipboard
A PHP parser for getting the text from a .doc, .docx, .rtf or .txt file
How would i go about including images in the result.
A message with two identical attachment names, after code parsing, two attachments released in the same path for different names, the program returns the same attachment name, not the same...
Hello (again), i test with DOCX file and remains P tags. You could remove in adding the following in your parseZipped function $content = preg_replace('/]*>(.*?)/i', '\1', $content); Thanks
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...
If I don't install antiword I get nothing, and if I do I get a warning: `I'm afraid the text stream of this file is too small to handle.` Is...
Decoding an RTF leaves the metadata at the top. My output from a small file with the text "rtf" saved as rtf is the following: ``` Normal; Heading; Text Body;...
Hi. Thank you for create PHPDocumentParser. I am using it in my project and the content is extracted right. But always there are some strange characters at the end (for...