Re: getimagesize()

From: Date: Fri, 07 Apr 2006 13:42:09 +0000
Subject: Re: getimagesize()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233429@lists.php.net to get a copy of this message
Ed Curtis wrote:
Can you call getimagesize() multiple times in one script? I'm trying to use it multiple times but it only seems to work in the first loop I call it in. I read something in the docs about it cacheing the results and didn't know if this has something to do with it.
That 'something' you read was a user comment, not the manual. AFAIK, getimagesize() *does no* cache.
I also tried creating an array out of the results I get from it but it will only output the size values when it's building the array, never when I try to loop back through it and output the values.
Without seeing any code, I can only guess that you're doing something wrong, and need to fix it. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#233429) next »