Getting a Remote Image Size

I am trying to get the width and height of a remote image in a php script but since getimagesize() is disabled, how would I go about getting that information?

IE: What’s a viable alternative method of getting the height and width of an image from a remote source to verify that it fits certain criteria, ie, max width 120px, max height 120px

Thanks!

Fetch the image file and save it to disk, then call image size.

See http://wiki.dreamhost.com/index.php/CURL

:cool: Perl / MySQL / HTML+CSS