|
Posted by Schraalhans Keukenmeester on 05/09/07 22:48
At Thu, 10 May 2007 00:43:26 +0200, Gilles Ganault let his monkeys type:
> Hi
>
> I have a piece of code that can take a couple of minutes to run,
> causing the browser to time out.
>
> Is there a way to send empty, fake data to keep the browser happy
> while the code is running on the server?
>
> Thanks.
Are you sure it's not the server timing out? max_execution_time is a
setting in php.ini, defaults to 30 secs I believe.
You could, during processing, use ob_start() and ob_flush() to send some
stuff to the browser repeatedly.
Sh.
Navigation:
[Reply to this message]
|