[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

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

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 Certification

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 Mailing

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

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

Re: [PHP] Maximum Execution Time Exceeded

2005-03-28 Thread Marek Kilimajer
[EMAIL PROTECTED] wrote: I would like to know if you could help me.. I don't understand what is wrong! I made a file that is supposed to list 2 categories with the boards that go to them under them. I get a Fatal Error: Maxmimum execution time of 30 seconds exceeded. Here is the file that

[PHP] Maximum Execution Time Exceeded

2005-03-27 Thread mikeytf
I would like to know if you could help me.. I don't understand what is wrong! I made a file that is supposed to list 2 categories with the boards that go to them under them. I get a Fatal Error: Maxmimum execution time of 30 seconds exceeded. Here is the file that gives me the error:

[PHP] Maximum execution time

2003-12-05 Thread John J Foerch
Hi, Is there some way to turn off maximum execution time? Preferably within the script itself? Thanks, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Maximum execution time

2003-12-05 Thread Pablo Gosse
John J Foerch wrote: Hi, Is there some way to turn off maximum execution time? Preferably within the script itself? Thanks, John ini_set('max_execution_time',0); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Maximum execution time

2003-12-05 Thread James Hicks
On Friday 05 December 2003 05:22 pm, John J Foerch wrote: Hi, Is there some way to turn off maximum execution time? Preferably within the script itself? Thanks, John set_time_limit(0); zero is for not timeout, change to # of seconds if you want. James -- PHP General Mailing List

[PHP] Maximum execution time exceeded when using dial up

2003-03-06 Thread Andras Kende
Hello, I have database while query which populates cells in a html table, but noticed if using a slow dial up connection its times out... Fatal error: Maximum execution time of 60 seconds exceeded in D:\website\eis-vieworderlookup.php on line 75 What's the best way to deal with this??

RE: [PHP] Maximum execution time exceeded when using dial up

2003-03-06 Thread Niklas Lampén
My short answer: set_time_limit(); Niklas -Original Message- From: Andras Kende [mailto:[EMAIL PROTECTED] Sent: 7. maaliskuuta 2003 9:05 To: 'php list' Subject: [PHP] Maximum execution time exceeded when using dial up Hello, I have database while query which populates cells

[PHP] Maximum execution time explanation needed

2003-02-24 Thread Mathieu Dumoulin
Ok, i got this script i run on my server, this script runs exactly 47 secs or so (45 to 49) each time i run it. I run it from the command line cause it's going to be a CRON job i'll run every month. My question is, why after 47 seconds or so does my script end saying: bFatal error/b: Maximum

[PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Christoph Starkmann
Hi everybody! I wrote a script just to do some local replacement stuff here on my own machine. Is there any way to change the maximum execution time of PHP which seems to be restricted to 30 seconds Would be great if you could give me a hint on how to change this... Thanx alot, Kiko

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Andrey Hristov
set_time_limit(0); // no limit set_time_limit(60); // 60 seconds Regards, Andrey - Original Message - From: Christoph Starkmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 7:09 PM Subject: [PHP] Maximum execution time of 30 seconds exceeded Hi everybody

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
I wrote a script just to do some local replacement stuff here on my own machine. Is there any way to change the maximum execution time of PHP which seems to be restricted to 30 seconds Would be great if you could give me a hint on how to change this...

RE: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Richard Black
The timeout is set in php.ini -Original Message- From: Christoph Starkmann [SMTP:[EMAIL PROTECTED]] Sent: 06 December 2001 17:09 To: [EMAIL PROTECTED] Subject:[PHP] Maximum execution time of 30 seconds exceeded Hi everybody! I wrote a script just to do some local

Re: [PHP] Maximum execution time of 30 seconds exceeded

2001-12-06 Thread Jon Farmer
The timeout is set in php.ini Only change it in php.ini if you want it to be serverwide. For a specific script use set_time_linit(). Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key

[PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Kraa de Simon
Hi, Any ideas how to get by the following error? Fatal error: Maximum execution time of 30 seconds exceeded in c:\program files\nusphere\apache\htdocs\test.php on line 8 ? for($i=1;$i=9;$i++) { $lines = join(,

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Jon Haworth
-General (E-mail) Subject: [PHP] Maximum execution time of 30 seconds exceeded... Hi, Any ideas how to get by the following error? Fatal error: Maximum execution time of 30 seconds exceeded in c:\program files\nusphere\apache\htdocs\test.php on line 8 ? for($i=1;$i=9;$i

Re: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread elias
Never tried it though! But what if you try this: form name=myform method=post action=?=$PHP_SELF? ? if (!isset($i) $i = 0; else $i++; ? input type=hidden name=i value=?=$i? /form ? $lines = join(, file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web

[PHP] maximum execution time exceeded but !connection_timeout() ???

2001-05-03 Thread John Clements
Hi, (PHP 4.0.3pl1 on Apache/1.3.14) I hope somebody can help me. I'm at my wit's end with this one. I need to use a shutdown function that does something only if it was called due to a connection timeout. I register a shutdown fuction and provoke a timeout; the function is called. But it sees

[PHP] maximum execution time exceeded but !connection_timeout() ???

2001-05-03 Thread John Clements
Hi, (PHP 4.0.3pl1 on Apache/1.3.14) I hope somebody can help me. I'm at my wit's end with this one. I need to use a shutdown function that does something only if it was called due to a connection timeout. I register a shutdown fuction and provoke a timeout; the function is called. But it sees

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Michael Geier
set_time_limit(n) where n is number of seconds (or 0 for no time limit) -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 5:53 AM To: 'Kraa de Simon'; Php-General (E-mail) Subject: RE: [PHP] Maximum execution time of 30 seconds exceeded

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread heinisch
, May 03, 2001 5:53 AM To: 'Kraa de Simon'; Php-General (E-mail) Subject: RE: [PHP] Maximum execution time of 30 seconds exceeded... Change the max_execution_time setting in your php.ini file. You can also do it on a per-script basis but I can't remember how OTOH - a search on the manual should

[PHP] Maximum execution time exceeded!

2001-01-29 Thread Chakravarthy K Sannedhi
hi all, when i am trying to calculate the number of rows with a '0' in a particular column using the following code, it is giving the 'Maximum execution time exceeded' message, eventhough after i gave set_time_limit(60), it didn't worked, infact now it is even worse the browser is getting

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Josh G
to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Chakravarthy K Sannedhi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 29, 2001 2:37 PM Subject: [PHP] Maximum execution time exceeded! hi all, when i

Re: [PHP] Maximum execution time exceeded!

2001-01-29 Thread Kyle Jerviss
That loop will never end. Generally, the loop body should manipulate some part of the loop ending condition. initialize $i before the loop replace the second loop with "if($prescene2==0){$i++;}" Chakravarthy K Sannedhi wrote: hi all, when i am trying to calculate the number of rows with

[PHP] Maximum execution time

2001-01-23 Thread Liam Gibbs
Can anyone tell me how to up the max. execution time in PHP? I know it's been said before, but I can't remember how it's done. Liam

Re: [PHP] Maximum execution time

2001-01-23 Thread Chris Adams
On 23 Jan 2001 07:47:03 -0800, Liam Gibbs [EMAIL PROTECTED] wrote: Can anyone tell me how to up the max. execution time in PHP? I know it's = been said before, but I can't remember how it's done. You can change the value max_execution_time in php.ini, or your apache configuration files. If you

Re: [PHP] Maximum execution time

2001-01-23 Thread Delbono
put this line set_time_limit(500) ; at the beginning of your script if you want to enlarge execution time for 500 seconds. - Original Message - From: "Liam Gibbs" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 4:48 PM Subject: [PHP] Maximum exec