Hi all,
Does anybody can tell me why i have this error :"Fatal error: Maximum
execution time of 5 seconds exceeded in photos2.php on line 28"
whith this


                        $tab_img = array();
                                $tab_img_size = array();
                                for($i=0;$i=56;$i++){
                                        $tab_img[$i] = 
"images/tof/real_size/techp02_".$i.".jpg";
                                        $tab_img_size = array(
/*      line 28 */                      $i => getimagesize($tab_img[$i]));
                                        }

Is the getimagesize function too long for making it 56 times??
What do u think ?
In fact i want to get all the image size to make a popup link on the
thumnail at the real size of the image.Because images don't have the same
size and i want to have a clean window whith the popup.
I've ever tried this before :

                        $tab_img = array();
                                $tab_img_size = array();
                                for($i=0;$i=56;$i++){
                                        $tab_img[$i] = 
"images/tof/real_size/techp02_".$i.".jpg";
                                        $tab_img_size[$i] = getimagesize($tab_img[$i]);
                                }
Hope you understand.
TIA.
zeg



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to