PDA

View Full Version : how to hold back response until scripts have been processed


umen
08-16-2002, 10:47 PM
Hello
well like the topic says..
how can i
hold back the response to the browser until all of the server scripts have been processed ,or until i call function that will flush it ?

p.s
something like : response.Buffer=true in asp
thanks.

stuntboy
08-16-2002, 11:22 PM
Perhaps:

ob_start() //start buffering

ob_end_flush() //stop buffering and send send it

http://www.php.net/manual/en/function.ob-start.php

hope that helps :)