Jump to content

checking for header output


Liquid Fire

Recommended Posts

Is there a way to check for a header output?  I am build a API that includes a class the will generate a excel(.csv) file.  I want to be able to error out to the user the the header was already sent if they try to create an excel after the header has been sent in a cleaner way than php telling them and then killing the script.

Link to comment
https://forums.phpfreaks.com/topic/68295-checking-for-header-output/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.