PHP Redirect Questions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Post 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 :)
Post Reply