How to check if Headers already been sent in PHP
Posted
by Industrial
on Stack Overflow
See other posts from Stack Overflow
or by Industrial
Published on 2010-05-12T16:10:14Z
Indexed on
2010/05/12
16:14 UTC
Read the original article
Hit count: 138
Hi!
I think most of us know about the infamous "Headers already sent" error in PHP. Can I check someway if headers already have been sent?
It would be really handy to do such, before going all out with trying to set some SESSION data or similar.
Thanks!
© Stack Overflow or respective owner