On a number of sites a message and/or graphic is displayed asking you to
wait or be patient whilst some processing is being performed to compose the
next page.

How are these done within PHP scripts?
Could output buffering be used for this purpose?
For example is it possible to do something like:

<?php
// Nothing is output until end of this script :(
ob_start();

echo "Please wait...";

ob_flush();

//Processing to build report
sleep(10);

ob_end_flush();
?>

Should I be aware of anything that could trip me up on this?

Any help or pointers much appreciated.

Graham

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to