I've started looking into the output buffering functions in the manual, I think I sort of understand what they're user for, but I'm not 100% sure.
For example:
PHP Code:
<?php
if(is_authorized()) {
ob_start();
echo "Hello, your are logged in!";
}
if(isSet($_GET['action']) && $_GET['action'] == 'home') {
ob_end_flush();
// some more out put here!
}
ob_end_clean();
?>
Is that a correct way to use these functions...can someone please explain?!
Thanks! :]