RE: [PHP] How to display a 'please wait' message whilst processing?

From: Date: Fri, 05 Nov 2004 16:50:45 +0000
Subject: RE: [PHP] How to display a 'please wait' message whilst processing?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201296@lists.php.net to get a copy of this message
[snip] > 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: > [snip] Does anyone have any ideas on this? I do not really want to use META refresh as my understanding is that this either reloads the same page (loop?) or a new page, which I don't see working as I want the "Please wait.." to remain until the processing has finished, not for a fixed period of time as the report may take 10 seconds or one minute to complete running. I want to avoid Javascript if at all possible, as I cannot guarantee it being available on the client. I have managed to use flush() to display some text, but after processing (or sleep) I cannot 'overwrite' this only add to it. Any help much appreciated... Graham

« previous php.general (#201296) next »