|
Posted by Marcus Bointon on 09/28/52 11:18
On 10 Jun 2005, at 00:36, Joe Harman wrote:
> I've ran into a little bit of a snag with php execution time... so, i
> need to execute the page a few times so that I can split the operation
> up into multiple parts... my other option would be to make a
> javascript reload
A more elegant solution is to split the process so that you can
handle it asynchronously. Create a server-side process that does your
long operation, then make your page refresh monitor it, using a
simple page refresh. This way you completely avoid timeout issues -
you can have operations that go on continuously for days at a time.
This article I wrote might help:
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20977409.html
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
Navigation:
[Reply to this message]
|