PHP7.4 composer使用 phpoffice/phpexcel^1.8.2 导出Excel时出错 “网页可能暂时无法连接,或者它已永久性地移动到了新网址”
super
2023-02-24 12:20
2571
1)修改导出文件格式,把Excel2007换成Excel5
// $writer = \PHPExcel_IOFactory::createWriter($excelObj, 'Excel2007');
$writer = \PHPExcel_IOFactory::createWriter($excelObj, 'Excel5');
2)修改OLE.php
0 条讨论