<![CDATA[
<?php
//using output_buffering=On
print_r(ob_list_handlers());

//this will output everything in buffer
echo ob_get_flush();

print_r(ob_list_handlers());
?>
]]>

Erm, this is not a too intelligent example... This function could be used to save the buffer to a file, or something, but not to print out the output (since the function itself prints out the output, it is not a good idea to print what is returned again).


Goba

Reply via email to