tarleton Posted October 8, 2009 Share Posted October 8, 2009 Hi all, I'm wondering if it is possible to get php to call and display the content of a specific worddocument lets say test.doc? Quote Link to comment https://forums.phpfreaks.com/topic/176914-display-content-of-word-document/ Share on other sites More sharing options...
Psycho Posted October 8, 2009 Share Posted October 8, 2009 Yes, but the "content" will not be what you really want. The content will include a lot of markup data that describes how the content will be displayed. So, it will basically be unreadable in its native format. To make matters worse MS has recently changed the format of Word docs from a prioprietary format to an XML type format. Your best bet is to find an existing class to read the files for you. Quote Link to comment https://forums.phpfreaks.com/topic/176914-display-content-of-word-document/#findComment-932791 Share on other sites More sharing options...
tarleton Posted October 8, 2009 Author Share Posted October 8, 2009 Hmm anyone done this before? Anyone point in the right direction google is not being so helpful. Quote Link to comment https://forums.phpfreaks.com/topic/176914-display-content-of-word-document/#findComment-932802 Share on other sites More sharing options...
Psycho Posted October 8, 2009 Share Posted October 8, 2009 http://drewd.com/2007/01/25/reading-from-a-word-document-with-com-in-php http://phpclasses.goodphp.com/browse/package/3553.html http://davidwalsh.name/read-pdf-doc-file-php Quote Link to comment https://forums.phpfreaks.com/topic/176914-display-content-of-word-document/#findComment-932825 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.