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!
 
 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
 
 -
 It's not a bug, it's a feature.
 christoph starkmann
 mailto:[EMAIL PROTECTED]
 http://www.fh-augsburg.de/~kiko
 ICQ: 100601600
 -
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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


http://www.php.net/manual/en/function.set-time-limit.php

--
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 General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

-
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.fh-augsburg.de/~kiko
ICQ: 100601600
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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 General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-05-03 Thread Jon Haworth

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 find it though.

HTH
Jon


-Original Message-
From: Kraa de Simon [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2001 11:48
To: Php-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++)
{
$lines = join(,
file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
kb.html?TAB=dspkbid=' . $i));

$fp = fopen ($DOCUMENT_ROOT . / . $i . .html, w);
fwrite($fp, $lines, strlen($lines));
fclose($fp);
}
?

Met vriendelijke groet / With kind regards,

Simon de Kraa
ICL Logistic Systems
mailto:[EMAIL PROTECTED]


**
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'

**

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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
 kb.html?TAB=dspkbid=' . $i));

 $fp = fopen ($DOCUMENT_ROOT . / . $i . .html, w);
 fwrite($fp, $lines, strlen($lines));
 fclose($fp);
?
script
  if (myform.i.value  1234)
  alert('reached max! script finished'); // stop submitting!
 else
   myform.submit(); // submit the form!
/script


by this you're giving each file a life time of 30secs max! meanwhile this
trick can save solve your problem!

-elias
www.eassoft.cjb.net

Kraa de Simon [EMAIL PROTECTED] wrote in message
C1EBEEBBB842D411B412949A1F5875868B@wwmessd135">news:C1EBEEBBB842D411B412949A1F5875868B@wwmessd135...
 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(,

file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
 kb.html?TAB=dspkbid=' . $i));

 $fp = fopen ($DOCUMENT_ROOT . / . $i . .html, w);
 fwrite($fp, $lines, strlen($lines));
 fclose($fp);
 }
 ?

 Met vriendelijke groet / With kind regards,

 Simon de Kraa
 ICL Logistic Systems
 mailto:[EMAIL PROTECTED]

 ---

 Microsoft Windows 2000 Professional SP 1, Progress 9.1b, Roundtable 9.1b
 SCO UnixWare 7.1.1, Progress 9.1a11

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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


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 find it though.

HTH
Jon


-Original Message-
From: Kraa de Simon [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2001 11:48
To: Php-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++)
{
$lines = join(,
file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
kb.html?TAB=dspkbid=' . $i));

$fp = fopen ($DOCUMENT_ROOT . / . $i . .html, w);
fwrite($fp, $lines, strlen($lines));
fclose($fp);
}
?

Met vriendelijke groet / With kind regards,

Simon de Kraa
ICL Logistic Systems
mailto:[EMAIL PROTECTED]


**
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




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

2001-05-03 Thread heinisch

At 08:32 03.05.01 -0500, you wrote:
set_time_limit(n) where n is number of seconds (or 0 for no time limit)

but DO NOT SET 0 on production-servers, your ISP will, after he killed the
processes, kill you :-)

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


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 find it though.

HTH
Jon


-Original Message-
From: Kraa de Simon [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2001 11:48
To: Php-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++)
 {
 $lines = join(,
file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
kb.html?TAB=dspkbid=' . $i));

 $fp = fopen ($DOCUMENT_ROOT . / . $i . .html, w);
 fwrite($fp, $lines, strlen($lines));
 fclose($fp);
 }
?

Met vriendelijke groet / With kind regards,

Simon de Kraa
ICL Logistic Systems
mailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]