Without output buffering, PHP sends data to your web server as soon as it is ready. Not only is this slow because of the need to send lots of little bits of data, but it also means you are restricted in the order you can send data. Output buffering cures these ills by enabling you to store up your output and send it when you are ready toor to not send it at all, if you so decide. |