Does anyone know what causes PHP to send it's default headers?
I have a piece of code that I'm writting that needs to set a cookie, but I keep getting the error that the headers have already been sent. I've narrowed down the file where PHP has decided it needs to send it's headers, but I need to know what triggers the sending of the headers.
What happens is I include a few files and everything is fine, but when I include my database abstraction layer (not call it, just include it) PHP sends headers. So I'd like to know what causes PHP to send headers.