header already sent by

Feb 21, 2012 at 1:54 AM

I developed a script. It can succes to generate excel.


I want to make a page to inform user excel is generating.

But when I made this page and try to include my generate excel.php. It will display a message about

header already sent...

Feb 21, 2012 at 7:53 AM

i think you did a page that creates on the fly the excel file and prompts the user for download

in this case, if you insert anything else that creates an output before che "header" part of the excel creation (that is what allows the automatic download) you'll receive that error.

The error is php related and has nothing to do with phpexcel.