On Thursday 16 December 2004 19:25, Lorderon wrote: > I need to store chunks of output into files. I can get the chunk output by > using ob_get_contents(), but after calling ob_start() the output is only > buffered and not sent till flushing. The delay from echoing to flushing is > exactly what I want to avoid. I want to echo the output imediatly and not > just on flushing, but still be able to buffer the chunk and get the output > into variable. If you can't get want you want by manipulating the ob_*() functions then try to structure your program so that all output is the result of explicit echo/print. Then it's just a simple matter to store them into a string before you output it. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Happiness, n.: An agreeable sensation arising from contemplating the misery of another. -- Ambrose Bierce, "The Devil's Dictionary" */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php