converter - how to get html code from pdf,docx,doc using php -
i want convert pdf,docx,doc file html code using php. same style in pdf. not getting proper solution.
config::set('pdftohtml.bin', 'c:/poppler-0.37/bin/pdftohtml.exe'); // change pdfinfo bin location config::set('pdfinfo.bin', 'c:/poppler-0.37/bin/pdfinfo.exe'); // initiate $pdf = new gufy\pdftohtml\pdf($item); // convert html , return [dom object](https://github.com/paquettg/php-html-parser) $html = $pdf->html();
not working me.
i think this post in first time. one, you'll able convert pdf html code using php.
after this, can use provided this post convert .doc , .docx pdf using php.
i think can built function each document extension want convert html.
good luck.
Comments
Post a Comment