phpexcel 因为文件格式或文件扩展名无效,请确定文件未损坏,并且文件扩展名与文件的格式匹配

$objPHPExcel = new PHPExcel(); $filename = "test.xls"; header('Content-Type: application/vnd.ms-excel'); header("Content-Disposition: attachment;filename=\"{$filename}\""); header('Cache-Control: max
相关文章
相关标签/搜索