早睡早起,方能养生
Sleep early rise early, way to keep healthy

PHP7.4 composer使用 phpoffice/phpexcel^1.8.2 导出Excel时出错 “网页可能暂时无法连接,或者它已永久性地移动到了新网址”

super
2023-02-24 12:20
views 1714

1)修改导出文件格式,把Excel2007换成Excel5

 

// $writer = \PHPExcel_IOFactory::createWriter($excelObj, 'Excel2007');
$writer = \PHPExcel_IOFactory::createWriter($excelObj, 'Excel5');

 

2)修改OLE.php

 

 



分享
0 条讨论
top