On Thu, Sep 18, 2008 at 3:28 PM, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 2008-09-18 at 15:20 -0400, Eric Butera wrote: >> On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan >> <ash@xxxxxxxxxxxxxxxxxxxx> wrote: >> > Hi All, >> > >> > I'm not sure if this is possible, but basically I was wondering if >> > anyone had any experience with using PHP to read/deconstruct a PDF file. >> > >> > I'm asking because a system I built at work is being used by a complete >> > computer illiterate. Even after careful step-by-step instruction, she >> > still keeps trying to upload a PDF in a form carefully marked as a CSV >> > upload, and she wonders why it doesn't work. She knows how to press the >> > PDF button on Word to create the PDF, and that's about it. I was just >> > wondering if there was a way I could extract the information I wanted >> > from the PDF (it's a fairly simple affair, just text and no images.) If >> > not, perhaps there's a way to extract what I need from a Word document? >> > >> > Thanks, >> > >> > >> > Ash >> > www.ashleysheridan.co.uk >> > >> >> I heard one of the goals of Zend_PDF was to be able to read them and >> index them with the Zend_Search_Lucene. As for if that works or >> not, I don't know.. but maybe it might be a starting point for you. >> > Thanks, I think that'll do what I need it to (albeit depending on M$ not > making a hash of the PDF it produces!) This is going to sound like a bit > of a dumb question, but would I need to recompile PHP to make use of > this? The server itself is IIS, if that makes a difference also. > > > Ash > www.ashleysheridan.co.uk > > Nope, ZF is just a bunch of php classes that you require into your script. Since I'm on unix I just symlink it into the include path, but you can also just copy it right in so you don't have to duplicate it a hundred times. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php