Re: Deconstruct PDF
| From: | Ashley Sheridan | Date: | Thu, 18 Sep 2008 19:28:42 +0000 |
| Subject: | Re: Deconstruct PDF | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280458@lists.php.net to get a copy of this message | ||
On Thu, 2008-09-18 at 15:20 -0400, Eric Butera wrote:
> On Thu, Sep 18, 2008 at 3:15 PM, Ashley Sheridan
> <ash@ashleysheridan.co.uk> 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