mgufrone / pdf-to-html

PDF to HTML PHP Class using Poppler-Utils
MIT License
175 stars 88 forks source link

It extension is work on the dedicated linux server? #51

Open saleemkhan25 opened 6 years ago

saleemkhan25 commented 6 years ago

I am little confuse how to pass the pdf file path. Because i added the path but not running any function on the server. $html = $pdf->getInfo(); All of the function showing empty data.

But when i hit the "$page = $pdf->html();" function then facing following issue: "Exception You're asking to go to page 1 but max page of this document is 0",

If anyone let me know how to fix the following issue? Thanks in advance.