|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-17 12:15 UTC] jay@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
Fatal error: Maximum execution time of 320 seconds exceeded in c:\program files\apache group\apache\htdocs\spiral.php on line 51 the problem is that ...I want to use these functions and I do not know Why it thake so long to calculate just the first line,...And what to say about the hole code... IT can be possible to run this unde PHP Apache server? unde Pascal it work fine... Thanks,.. I hope somebody can help me... //------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $a[$i][0] = 3.2*COS((4*3.1415+$i*(4*3.1415)/$n)); $a[$i][2] = 3.2*SIN((4*3.1415+$i*(4*3.1415)/$n)); $a[$i][1] = (0.25+$i/5); } //-------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $b[$i][0] = 3.2*COS((4*3.1415+$i*(4*3.1415)/$n)); $b[$i][2] = 3.2*SIN((4*3.1415+$i*(4*3.1415)/$n)); $b[$i][1] = ($i/5); } //-------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $c[$i][0] = 0.1*COS((4*3.1415+$i*(4*3.1415)/$n)); $c[$i][2] = 0.1*SIN((4*3.1415+$i*(4*3.1415)/$n)); $c[$i][1] = (0.25+$i/5); } //-------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $d[$i][0] = 2.95*COS((4*3.1415+$i*(4*3.1415)/$n)); $d[$i][2] = 2.95*SIN((4*3.1415+$i*(4*3.1415)/$n)); $d[$i][1] = (0.25+$i/5); } //-------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $e[$i][0] = 2.95*COS((4*3.1415+$i*(4*3.1415)/$n)); $e[$i][2] = 2.95*SIN((4*3.1415+$i*(4*3.1415)/$n)); $e[$i][1] = (0.25+$i/5); } //-------------------------------------------------------------- for($i = 1;$i = $n; $i++) { $f[$i][0] = 2.95*COS((4*3.1415+i*(4*3.1415)/$n)); $f[$i][2] = 2.95*SIN((4*3.1415+i*(4*3.1415)/$n)); $f[$i][1] = (0.25+$i/5); } //--------------------------------------------------------------