using GetImageSize in a directory of images
| From: | Rory O'Connor | Date: | Wed, 11 Jul 2001 19:08:48 +0000 |
| Subject: | using GetImageSize in a directory of images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57484@lists.php.net to get a copy of this message | ||
recent posts introduced me to the handy GetImageSize, and it's just what
I need! What I want to do is write a script that will go through a
directory of images and write [image name];[image dimensions] to a file
so I can query that into my products database for dynamic use on my
site.
BUT, i'm a super-duper PHP newbie and i'm unfamiliar with the syntax for
looping thru all fils in a given directory. Can anyone point me in the
right direction?
Thanks so much!
providing the finest in midget technology