如何设置适用于 excel 2007 的正确 MIME 类型? 现在我有这个:
header("Content-type: application/vnd.ms-excel; charset=UTF-8");
我的浏览器一直告诉我这是一个 97 2003 文件,但是当我尝试使用 Excel 2007 打开该文件时,程序显示一些警告,我可以看到该文档,但我试图避免该警告。
最佳答案
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
关于excel - Excel 2007 的 Mime 类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13123912/