By davidwalsh
via davidwalsh.name
Published: Jan 02 2009 / 13:51
One of my customers has an insane amount of PDF and Microsoft Word DOC files on their website. It’s core to their online services so it’s not as though they’re garbage files up on the server. My customer wanted their website’s search engine (Sphider) to read these PDF files and DOC files so that their clients could get at the documents they needed without going through a bunch of summary pages to get them. I was successful in the task, so let me show you how to read PDF and DOC files using PHP.
Comments
Motion Control replied ago:
Oops!
leo.bonnafe replied ago:
The easiest way to read DOC, DOCX and RTF files in PHP is with a project called phpLiveDocx - http://www.phplivedocx.org. Not only is it really easy to use, but you also avoid shelling out with shell_exec() :-) Have fun! Leo
,
raneeq replied ago:
Here is an easiest way to read pdf in word document. That is using anybizsoft pdf to word converter, you may right-click the pdf file and read pdf in word directly. Here you may have a free trial: http://www.anypdftools.com/pdf-to-word.html#153
Voters For This Link (14)
Voters Against This Link (6)