Internet Marketing Business Forum


Internet Marketing Business Forum » MAIN FORUMS » Copywriting & Content Creation » From the info in the article on this website can anyone find if its...
Copywriting & Content Creation Copywriting is the most valuable skill you can learn. Learn how to influence people with words and make them click your order button. Ask for and do sales copy critiques. Everything about writing articles, getting content for your websites or distributing it.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-08-2009, 12:34 PM   #1 (permalink)
JLB
 JLB's Avatar
 
Status: Junior Member
Join Date: Jul 2009
Posts: 0
JLB is on a distinguished road
Default From the info in the article on this website can anyone find if its...

...possible to read existing PDF w/ PHP? I am writing an article on this and am pretty much done, except I need to know if the website I am referencing to, http://www.devshed.com/c/a/PHP/PDF-Generation-With-PHP/6/ states somewhere in the article if it is possible to read existing PDF with PHP? And where is it in the article if it does??

10 pts for best answer!!!!
JLB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-08-2009, 12:35 PM   #2 (permalink)
 Silas G's Avatar
 
Status: Junior Member
Join Date: Jul 2009
Posts: 1
Silas G is on a distinguished road
Default

No.

The article you referenced is about pdf creation, not reading a pdf. If you want to be able to read a pdf, you can use pdf2ps | ps2a or the pdftotext program that comes with xpdf. Xpdf also has a program that will extract pdf images. You can of course also just call the adobe reader. Any way you slice it though, you're going to want to pass something through the shell rather than have PHP do any low level stuff, although I'm sure if you know pdf or postscript well enough you could write something that matches the key/value pairs in the pdf/ps to a php array.

Your best bet is to use something to turn the pdf into text and images, and then use php to glue those together the way you want them.
Silas G is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:06 AM.
Powered by vBulletin® Version 3.7.0 Beta 6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.


Nav Item BG