Re: [PHP] maximum execution time error

2005-07-05 Thread James
I was actually doing some extreme performance testing with inserts when I got that message. One of my scripts was inserting like 50,000 rows and I was writing one single sql to do it... I figured that because I came across this problem, I might as well find a work around if I run into this pr

Re: [PHP] maximum execution time error

2005-07-05 Thread Jochem Maas
Greg Donald wrote: On 7/5/05, James <[EMAIL PROTECTED]> wrote: Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run? ini_set() http://php.net/manual/en/ref.info.php#ini.max-execution-time also look here: http://php.net/manual/en

RE: [PHP] maximum execution time error

2005-07-05 Thread James
I also just found this... ini_set("max_execution_time", "60") But set_time_limit() seems more flexible, because you can call that in specific places in your script where you might expect long processing time. Thanks! At 10:56 AM -0500 7/5/05, Jay Blanchard wrote: [snip] Is there a way

RE: [PHP] maximum execution time error

2005-07-05 Thread André Medeiros
On Tue, 2005-07-05 at 10:56 -0500, Jay Blanchard wrote: > [snip] > Is there a way to, on a script by script basis, change the maximum > allowed time that a script is allowed to run? > [/snip] > > http://www.php.net/set_time_limit > More specifically... set_time_limit( 0 ); -- PHP General Ma

Re: [PHP] maximum execution time error

2005-07-05 Thread Greg Donald
On 7/5/05, James <[EMAIL PROTECTED]> wrote: > Is there a way to, on a script by script basis, change the maximum > allowed time that a script is allowed to run? ini_set() http://php.net/manual/en/ref.info.php#ini.max-execution-time -- Greg Donald Zend Certified Engineer MySQL Core Certificatio

RE: [PHP] maximum execution time error

2005-07-05 Thread Jay Blanchard
[snip] Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run? [/snip] http://www.php.net/set_time_limit -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] maximum execution time error

2005-07-05 Thread James
Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run? I have a web admin tool that I'm creating which will allow people to do some mysql database administration. The tool creates a big sql statement before it executes it. I'm gettin