Hi, I just wanted to know what are the main pros and cons between echoing the output some PHP script as it process the data and returning the whole output to echo it at once. I find the second way to be useful when I want to add a header() line without concerning former output. However, is that way slower or has any other inconvenience?
If you decide to output everything at the end, it will seem that there is no responce from the server for pages that take longer to build. Some impatient visitors will try refresh buttons, thus adding more load to the server.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php