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 Joe Harman on 10/20/65 11:18

On 6/9/05, Richard Davey <rich@launchcode.co.uk> wrote:
> Hello Joe,
>
> Friday, June 10, 2005, 12:36:13 AM, you wrote:
>
> JH> is it possible to make a page loop with header('Location :
> JH> page.php')???
>
> JH> I've ran into a little bit of a snag with php execution time...
> JH> so, i need to execute the page a few times so that I can split the
> JH> operation up into multiple parts... my other option would be to
> JH> make a javascript reload
>
> Why not just increase the PHP script timeout value to something that
> works better for your current situation? You can do this from the code
> itself, not just the php.ini
>
> Best regards,
>
> Richard Davey
> --
> http://www.launchcode.co.uk - PHP Development Services
> "I do not fear computers. I fear the lack of them." - Isaac Asimov
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Hey Richard,

I was going to do that... also, I do have access to my php.ini... I
was just thinking it wasn't a good thing to do....

hmmm... would it okay to make it like 5 minutes??? or is that
unadvisable... i may be running into apache limits then

ini_set('max_execution_time', 300)

Joe

 

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

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