phpexcel导出文件打开时乱码或提示需要修复

只需要在header的上方加上代码:

ob_end_clean();

即可,加入该代码可以导出前清除缓存

你可能感兴趣的:(phpexcel导出文件打开时乱码或提示需要修复)