Re: Making a page loop with header('Location: ...
| From: | Marcus Bointon | Date: | Fri, 10 Jun 2005 10:07:32 +0000 |
| Subject: | Re: Making a page loop with header('Location: ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216800@lists.php.net to get a copy of this message | ||
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 reloadA 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