-
The following PhpSpreadsheet code is working properly on localhost but not on live server. THE ISSUE IS : save('php://output'); is not downloading the xlsx file. PhpSpreadsheet Version : 1.29.0 PHP version :
I changed : $writer = IOFactory::createWriter($spreadsheet, 'Xlsx'); to Html which is working fine ( file spreadsheet.html got downloaded ) |
Beta Was this translation helpful? Give feedback.
Answered by
4n54n
Aug 30, 2023
Replies: 1 comment
-
Issue got solved after using php 8.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
4n54n
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue got solved after using php 8.1