Re: Making a page loop with header('Location: ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/9/05, Richard Davey <rich@xxxxxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux