Maximum execution time of 30 seconds exceeded...
| From: | Kraa de Simon | Date: | Thu, 03 May 2001 10:48:05 +0000 |
| Subject: | Maximum execution time of 30 seconds exceeded... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51243@lists.php.net to get a copy of this message | ||
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
---
Microsoft Windows 2000 Professional SP 1, Progress 9.1b, Roundtable 9.1b
SCO UnixWare 7.1.1, Progress 9.1a11