getimagesize() is also used to get size of images.
To find out supported formats and return values go to this link
http://www.php.net/getimagesize
Following code is a simple example on how to get the width and height of a swf file.
list($width, $height) = getimagesize("file_name.swf");
works like a charm
ReplyDeletethxx for this idea
ReplyDelete