Forum Moderators: coopster

Message Too Old, No Replies

reading a PDF - how to decode FlateDecode

         

spikey

4:03 am on Nov 23, 2006 (gmt 0)

10+ Year Member



I'm reading a PDF with PHP just by using fread. For some of the files it's fine, but others have these FlateDecode streams in them. Has anyone dealt with these successfully?
Does anyone know of a PDF parser for PHP? Seems to me one would exist, but I've searched high and low.
Thanx

eelixduppy

6:46 am on Nov 23, 2006 (gmt 0)



Have you taken a look at PHP's PDF Functions [us3.php.net]?

Also, a search [google.com] may come up with something useful.

Best of luck!

spikey

2:48 am on Dec 2, 2006 (gmt 0)

10+ Year Member



The PDF functions seem to be all about writing, not reading. I've found some apps that I can call (at OS level) to do it. I guess I'll have to work something with some system calls.

eelixduppy

6:19 am on Dec 2, 2006 (gmt 0)



I'm sorry that yielded no solution for you.

You can also try [phpclasses.org...] for PDF related classes [google.com].