PDF read

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

PDF read

Post by Roja »

Is there a way to *read* in a PDF file from PHP?

Any combination of technologies is fine, as long as I can get the contents (human readable, not binary) into a string or array.

Thanks!
Syranide
Forum Contributor
Posts: 281
Joined: Fri May 20, 2005 3:16 pm
Location: Sweden

Post by Syranide »

pdf_open_file?

dunno though, does only seem to create a file.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

quick google and all I could find was several ways to create pdf's using php but nothing to come back using php.

the only things I found where http://www.eprintdriver.com/
and
http://www.digitalriver.com/v2.0-img/op ... 30520.html

which are stand alone programs that have nothing to do with php.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Ghostscript converts PDF to PostScript - doesn't look like converts it into ASCII or the like.

Adobe Reader 7 offers PDF to ASCII conversion and is available for Linux.
Post Reply