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


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


:cool: Perl / MySQL / HTML+CSS