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]


**********************************************************************
'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]

Reply via email to