At 3:52 PM -0500 6/16/06, Richard Lynch wrote: >On Fri, June 16, 2006 8:26 am, tedd wrote: >> At 2:35 PM +0200 6/16/06, Barry wrote: >>>But once output is made. You can't remove it. >>> >>>That isn't possible with PHP. >> >> I think I get it now. >> >> PHP does everything before the user see's anything. > >This is not quite 100% correct... > >PHP output is buffered, possibly by PHP with ob_start and friends, and >then possibly by Apache, and then possibly by TCP packets and their >ordered arrival (or not) and then by the browser, but... > >It is entirely possible to construct a trivial example proving that >PHP can still be runing and finishing output while the browser has >rendered the beginning of the page. > >You can mostly THINK of it as PHP finishing before user sees anything, >as that will get you in a lot less trouble than thinking the other way >around, but to be pedantic, you should be aware it's not quite that >simple. Good explanation and point. How's this for the obvious -- the user doesn't see anything until php is done with it. That doesn't mean that the entire operation must be finished, but rather anything that the user see's (while and after loading) php has already finished with. That about right? tedd -- ------------------------------------------------------------------------------------ http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php