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<=99999;$i++)
>         {
>                 $lines = join("",
>file('http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web
>kb.html?TAB=dsp&kbid=' . $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]

Reply via email to