Archive for August 21st, 2009
PHP:ob_start() Display page at once, forget about cookie,headers sent too early errors
Posted on 21. Aug, 2009 by Dragos.
1
If you want to display your web pages at once, not subsequently, and reduce the “headers already sent, cannot send cookie information” errors, add ob_start() at the start of your script. This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers), instead the [...]


