我用PHPExcel来导的,本地好好的,放服务器却不行了,为什么啊?2007的头部文件是这样的,是不是要安装什么的?
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
header('Content-Disposition: attachment;filename="links_out_2007.xlsx"');
header('Cache-Control: max-age=0');
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
header('Content-Disposition: attachment;filename="links_out_2007.xlsx"');
header('Cache-Control: max-age=0');
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
这个头部文件,php本来就支持?