You are here: Re: anyway to exceed max execution time? « PHP Programming Language « IT news, forums, messages
Re: anyway to exceed max execution time?

Posted by J2be on 01/11/06 12:55

"Charles Crume" <NOccsSPAM@charlescrumesoftware.com> wrote in message
news:Wz4xf.33552$%D1.9975@tornado.ohiordc.rr.com...
> Hello all;
>
> I set "max_execution_time = 120" in my php.ini file so that some lengthy
> php routines in my auction software would have time to complete when
> automatically relisting lots of items.
>
> However, sometimes even 2 minutes is not long enough. I don't want to
> increase the max time to 10 or 15 minutes, so I'm wondering if there is
> any way to allow a specific PHP file to exceed the max_execution_time?
>
> TIA.
>
> Charles...
>
>

set_time_limit(yourlimit)
http://www.php.net/set-time-limit


or ini_set('max_execution_time',yourlimit);
http://www.php.net/ini_set


I hope that's what you need.


Cheers.


--
----
Leonardo Armando Iarrusso - J2Be
www: http://www.J2be.com - e-mail: info[at]J2Be.com

 

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

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