lazda144 Posted April 10, 2008 Report Share Posted April 10, 2008 Sveiki! Man ir tāda problēma!! Man loti ilgi ielādē lapu un brīžiem pat izmet Fatal error: Maximum execution time of 30 seconds exceeded in d:\appserv\www\index.php on line 136 kas ietekmē execution time un kā to labot? Link to comment Share on other sites More sharing options...
Val Posted April 10, 2008 Report Share Posted April 10, 2008 dajoš index.php faila saturu - nav te nekāds zīlēšanas birojs. Link to comment Share on other sites More sharing options...
lazda144 Posted April 10, 2008 Author Report Share Posted April 10, 2008 http://paste.php.lv/7167?lang=php Link to comment Share on other sites More sharing options...
blackhalt Posted April 10, 2008 Report Share Posted April 10, 2008 Ietekmē līki, neoptimizēti kodi. Jāoptimizē kods. Konkrētajā 136 rindiņā, ja tā atbilst, $img = getimagesize($row['bilde']); PHP pārāk ilgi mēģina nolasīt bildes parametrus. http://lv.php.net/getimagesize Link to comment Share on other sites More sharing options...
Recommended Posts