[PHP] Echo Informative Text will Script Runs - how ?
Hi, 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. Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo Informative Text will Script Runs - how ?
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. echo (\Processing, please wait...\); flush(); //processing code here... -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 PGP Key available, send email with subject: Send PGP Key -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo Informative Text will Script Runs - how ?
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 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php