gerkintrigg Posted November 26, 2009 Share Posted November 26, 2009 I wondered whether there are any third party scripts that can read an write pdf, doc and docx files fairly easily? I have found loads that require extensions or access to COM modules but if I just have a standard PHP host, can I still do it (reliably)? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/183018-reading-and-writing-pdf-word-files/ Share on other sites More sharing options...
JonnoTheDev Posted November 26, 2009 Share Posted November 26, 2009 Firstly you need a windows PC with MS Word. You need PHP on the same machine. The Windows version of PHP has the COM extensions available in the core. This tutorial explains how to use the COM object to create a Word document. http://www.phpbuilder.com/columns/yunus20031124.php3 To generate PDFs I would recommend fpdf. It is simple enough to use. http://www.fpdf.org/ Link to comment https://forums.phpfreaks.com/topic/183018-reading-and-writing-pdf-word-files/#findComment-965942 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.