tags:

views:

165

answers:

1

I know solutions exist to get HTML / CSS to PDF, but is there one that works the opposite way?

I want to be able to automatically take uploaded PDFs, and turn them into HTML / CSS to be displayed on a website between a header and footer etc.

Thanks

+3  A: 

There is a command line tool, pdf2html, which you could use exec() or system() in PHP to execute. Not sure it that will be ok for you?

Christian
This looks interesting... Thanks!
alex
Were you able to find any docs on how to use it?
alex
It is based on xPDF - http://www.foolabs.com/xpdf/ so I dont know if there are docs there.
Christian