Re: Echo Informative Text will Script Runs - how ?

From: Date: Mon, 25 Mar 2002 16:18:08 +0000
Subject: Re: Echo Informative Text will Script Runs - how ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90049@lists.php.net to get a copy of this message
On Monday, March 25, 2002, at 10:39 AM, Chris wrote:
How can I echo some text such as "Processing, please wait..." whilst the PHP script runs. Rather than displaying a blank screen with the results being echoed once the script has fully completed.
A hackish and inelegant way to do it would be to use JavaScript to create a new front window upon unLoad of the page that calls the PHP script. While the PHP script executes in the back page, taking its time to do its thing, the front page (perhaps a small window or something with an animated GIF to simulate the "page loading" effect) sits in front. When the PHP page has finally loaded, a new JavaScript command to close the "page loading" window executes, or you could have it close automatically after a certain number of seconds. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#90049) next »