Page 2 of 2

Posted: Thu Jul 05, 2007 8:47 pm
by Citizen
feyd wrote:sleep() has nothing to do with output. PHP sends its buffer to the web server once it
  1. reaches a certain size
  2. is told to
If neither condition has been met, then no output will be sent to the web server. That does not mean output has not started however because to PHP, it has.

The web server may have a buffer too before it begins transmission to the requesting agent.
Thanks! That makes a lot of sense... its always better to have a better understanding of the language I'm using :)