Basic usage
Example #1 Output Control example
<?php In the above example, the output from echo would be stored in the output buffer until ob_end_flush was called. In the mean time, the call to setcookie successfully stored a cookie without causing an error. (Headers cannot normally be sent to the browser after data has already been sent.) |