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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -