Re: [PHP-DB] PHP Max execution time

2004-07-15 Thread John W. Holmes
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

Re: [PHP-DB] PHP Max execution time

2004-07-15 Thread zareef ahmed
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

RE: [PHP-DB] PHP Max execution time

2004-07-15 Thread Ed Lazor
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

Re: [PHP-DB] PHP Max execution time

2004-07-15 Thread Micah Stevens
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

[PHP-DB] PHP Max execution time

2004-07-15 Thread Lisi
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