Output buffering behaviour

From: Date: Sat, 23 Feb 2002 12:16:11 +0000
Subject: Output buffering behaviour
Groups: php.general 
Request: Send a blank email to php-general+get-85936@lists.php.net to get a copy of this message
hi, I'm working on content management system entirely written in Object oriented PHP using templates i used output buffering to be able to send header calls in the middle of my classes i have noticed that performance has become "random" meaning that the same script could take from 1 up to 30 seconds in the same conditions, passing exactly the same params. while trying to find a solution, i removed the ob_end_flush() call while keeping the ob_start() call at the beginning of the script and strangely speed of execution came back to normal. output buffering is still on i am not flushing it out the pages are generated just fine without freeing the buffer ??!!!! i would like to know if anyone has had similar experiences with output buffering this behavior occurred on a windows and a linux box both with php 4.1.1 and pretty much the same php.ini settings Regards __________________________________ hassan el forkani http://WarmAfrica.com EveryOne's Africa __________________________________

« previous php.general (#85936) next »