phpexcel 导出excel 由于文件格式或文件扩展名无效,请肯定文件未损坏,而且文件扩展名与文件的格式匹配

phpexcel导出excel:打开出现这个错误,强制打开是乱码php $objPHPExcel = new PHPExcel(); $filename = "test.xls"; header('Content-Type: application/vnd.ms-excel'); header("Content-Disposition: attachment;filename=\"{$file
相关文章
相关标签/搜索