“Excel found unreadable content” warning when opening Excel files made with PHPExcel

前端 未结 6 610
情深已故
情深已故 2020-12-31 02:44

I\'m trying to download Excel files (xlsx) using PHPExcel as follows.

require_once(\"../../phpExcel/Classes/PHPExcel.php\");
require_once(\"../../phpExcel/Cl         


        
6条回答
  •  旧巷少年郎
    2020-12-31 03:25

    This error can also be triggered by serving the file without the Content-Length headers.

    Look at the example given here in php.net

提交回复
热议问题