更新时间:2021-10-31 00:17:15
我在PHP导出代码的标头部分中发现了我的问题.错误和正确的行如下:
I've found out what my problem was in the header section of the PHP export code. The incorrect and correct lines are as follows:
不正确
header("Content-Disposition: attachment;filename=\"".$this->filename."\"");
正确
header("Content-Disposition: attachment; filename=\"".$this->filename."\"");
更正是在附件; 和文件名
希望这会有所帮助.