cooldude832 Posted July 19, 2007 Share Posted July 19, 2007 Anyone know if php has a built in function for opening pdfs and reading them as html or something like that. Or anyone got an idea on how to do it. (I know how to use the pdf lib to make them from php, but i want to do it in reverse Link to comment https://forums.phpfreaks.com/topic/60818-php-reading-pdfs-with-file-handlers/ Share on other sites More sharing options...
phat_hip_prog Posted July 19, 2007 Share Posted July 19, 2007 There was a topic somewhere here a while back... Link to comment https://forums.phpfreaks.com/topic/60818-php-reading-pdfs-with-file-handlers/#findComment-302606 Share on other sites More sharing options...
cooldude832 Posted July 19, 2007 Author Share Posted July 19, 2007 I know it can be done because the pdfs aren't in binary(at least I don't think because they need an interputer to read them) but I don't know their structure well enough to do it my self and i though php might have a function like pdf_to_html($FileResource); so to speak of Link to comment https://forums.phpfreaks.com/topic/60818-php-reading-pdfs-with-file-handlers/#findComment-302610 Share on other sites More sharing options...
phat_hip_prog Posted July 19, 2007 Share Posted July 19, 2007 http://www.zend.com/forums/index.php?t=msg&goto=8189&S=7db751697e9457a5462c4efa324616c8 http://framework.zend.com/manual/en/zend.pdf.html http://www.zftutorials.com/zend-pdf/ I liked the look of this, but i've not tried it... header("Content-type: application/pdf"); echo base64_decode ( filename ); Link to comment https://forums.phpfreaks.com/topic/60818-php-reading-pdfs-with-file-handlers/#findComment-302615 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.