maximilian
Mon 19 November 2007, 09:31 pm GMT +0100
http://us3.php.net/outcontrolJust curious, because I make these little CMS systems and it might be great to avoid "header already sent..." errors.
Right now I just use best practices to avoid those errors, does this work well?
olaf
Tue 20 November 2007, 10:12 am GMT +0100
...and it might be great to avoid "header already sent..." errors.
just code the right way and you error's are gone
anthonyw
Tue 20 November 2007, 12:06 pm GMT +0100
Yes, I use output buffering, but not to avoid the "headers already sent" problem: I use output buffering to compress the page, for reduced bandwidth usage and faster download, as I described in my recent blog entry:
http://www.justsoftwaresolutions.co.uk/webdesign/reduce-bandwidth-by-compressing-pages.htmlolaf
Tue 20 November 2007, 12:07 pm GMT +0100
Nikolas
Fri 7 December 2007, 10:39 am GMT +0100
If you are using output buffering for compression is ok. If you use it to stop seeing "Headers already sent" errors then you just wasting memory.