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

From: Date: Thu, 03 May 2001 13:32:51 +0000
Subject: RE: [PHP] Maximum execution time of 30 seconds exceeded...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51265@lists.php.net to get a copy of this message
set_time_limit(n) where n is number of seconds (or 0 for no time limit) -----Original Message----- From: Jon Haworth [mailto:JHaworth@witanjardine.co.uk] 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:Simon.de.Kraa@icl.nl] 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:Simon.de.Kraa@icl.nl ********************************************************************** '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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#51265) next »