Re: cvs: phpdoc /en/reference/outcontrol/functions ob-get-flush.xml

From: Date: Sat, 03 Jan 2004 18:36:02 +0000
Subject: Re: cvs: phpdoc /en/reference/outcontrol/functions ob-get-flush.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357885@lists.php.net to get a copy of this message
<![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

« previous php.doc (#969357885) next »