學習筆記:phpexcel 導出文件 打開時提醒:Excel found unreadable content in

學習過程中遇到的一些問題收集:

phpexcel 導出文件,

 打開excel文件時提醒:

"Excel found unreadable content in 'test.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes."


網上找的方法一般都是類似於:

Open the file in a text editor, and look to see if there are any white space characters at the beginning or end of the file, or any obvious error messages visible.

沒有解決,最終解決的方法: 在php文件最後加上 exit;  生效。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章