Re: ob_flush() problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 31, 2006 1:36 pm, Brad Bonkoski wrote:
> PHP is a server side scripting language, so the information would not
> be
> sent to the browser( aka client) until the server side script has
> completed its execution.

This is just plain incorrect.

While buffering within various pieces of software MAY alter the
timing, data IS output from PHP as it runs, not only after execution
is completed.

If you pump ENOUGH data out, and then sleep(10) and then pump ENOUGH
more data out, you WILL see the data in parallel with script
execution.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux