Lisi wrote:
I am running a script (called through a browser) that checks entries in
a table one at a time. As the table has grown, the script takes longer
to run than is allowed - 30 seconds.
Two questions:
1) I am on a virtual host so I'm not sure I have access to php.ini, but
can I change thi
Hi,
You can use set_time_limit(0) to disable max execution
time limit.
You can set it to more than 30 seconds too.
ini_set("max_execution_time","300");
will also work.
zareef ahmed
--- Lisi <[EMAIL PROTECTED]> wrote:
> I am running a script (called through a browser)
> that checks entries in a
Check out the ini_set command in PHP. It'll let you set this option from
within your specific script.
> -Original Message-
> I am running a script (called through a browser) that checks entries in a
> table one at a time. As the table has grown, the script takes longer to
> run
> than is
Just use the set_time_limit function. You can go more than 30 seconds..
Unless you're in safe mode or something weird..
-Micah
On Thursday 15 July 2004 02:03 am, Lisi wrote:
> I am running a script (called through a browser) that checks entries in a
> table one at a time. As the table has gr
I am running a script (called through a browser) that checks entries in a
table one at a time. As the table has grown, the script takes longer to run
than is allowed - 30 seconds.
Two questions:
1) I am on a virtual host so I'm not sure I have access to php.ini, but can
I change this using .hta