PDF to HTML


#1

I have been trying for 3 months. Need to convert PDF to HTML. An API or command. Using PHP. Tried dozens of configurations using PDFtoHTML and PDF2HTML. Used passthru, with all parameters, without all parameters, absolute paths, relative paths, fully qualified paths, /usr/bin, public_html, root directory, current directory, exec, shell_exec, etc. etc. etc. Cannot get to work. Please advise. Nothing happens. No file created.


#2

Copy & paste is your friend, copy the text and build it from there in a text file, then you’ll just have to screen capture all the images off it. That’s how I’ve been dealing with that problem, anyway. I don’t think there is a way to do it otherwise. Once it’s been made into a PDF it’s pretty much terminal, especially if it’s a protected PDF.