Re: How to Display a page while script runs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<?php
echo "<p>Waiting 20 seconds for a web page is rather inexcusable,
isn't it?</p>\n";
echo str_repeat(' ', 2048);
flush();
//rest of script here
?>


On Thu, November 2, 2006 3:46 pm, Chris wrote:
>
> I have a php script which takes maybe 15-20 seconds to run, however
> until it
> completes a blank web page is displayed to the user. Is there a
> way/method
> which would enable me to give some feedback to the user while the
> script is
> running so the blank page is not displayed?
>
> Best,
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux