post item
2018年12月02日 09:37:18

PHP-PHPOffice

CV资讯



asdad 
$php_word = IOFactory::load(ROOT_PATH . 'resoure_list/list/我是谁List.docx');
        
$dompdf_path = Settings::setPdfRendererPath(ROOT_PATH . 'vendor/dompdf/dompdf');
$dompdf_name = Settings::setPdfRendererName('DomPDF');
$html_word = IOFactory::createWriter($php_word, 'PDF');
$html_word->save(ROOT_PATH . 'test_word001.pdf');



一般错误解决方法

image.png

 发布者!!

Comments

Leave a comment

Loading