aVadim483 / fast-excel-writer

Lightweight and very fast XLSX Excel Spreadsheet Writer in PHP
MIT License
142 stars 26 forks source link

[SOLVED} creating excel, opening the file always has an error #63

Closed atmanegara closed 1 month ago

atmanegara commented 1 month ago

this is my code

image

The file was successfully created and I opened it using MS Office (Excel) image

image

--edit [solved] change file .../FastExcelWriter/Excel.php in the download function, after readfile($tempFile) add the following code

unlink($tmpFile); exit;

Ok