这个应该是excel自动的格式转换吧?我想如果你用
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=test.csv");
类似这样的语句大概不好控制,还是用com吧