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]
|