You are here: Re: [PHP] Making a page loop with header('Location: ... « PHP « IT news, forums, messages
Re: [PHP] Making a page loop with header('Location: ...

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация