Re: [PHP] getimagesize or loop pblm

2002-10-06 Thread Sascha Cunz
; Cc : Php-General > Objet : Re: [PHP] getimagesize or loop pblm > > > It could take a while. Depends how fast your server's disk sub-system is. > Going to disk to stat and open an image and then parse through the initial > headers to get the sizing data can take some time. I

RE: [PHP] getimagesize or loop pblm

2002-10-06 Thread arnaud gonzales
: Re: [PHP] getimagesize or loop pblm It could take a while. Depends how fast your server's disk sub-system is. Going to disk to stat and open an image and then parse through the initial headers to get the sizing data can take some time. I'd suggest caching this data somewhere if you are going

Re: [PHP] getimagesize or loop pblm

2002-10-06 Thread Rasmus Lerdorf
It could take a while. Depends how fast your server's disk sub-system is. Going to disk to stat and open an image and then parse through the initial headers to get the sizing data can take some time. I'd suggest caching this data somewhere if you are going to need it on every request. -Rasmus

[PHP] getimagesize or loop pblm

2002-10-06 Thread arnaud gonzales
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;$