is there any way, in php, to determine the width and height of an image that is already uploaded?
I remember reading something on php.net but forgot the command..
Thanks for any help![]()

is there any way, in php, to determine the width and height of an image that is already uploaded?
I remember reading something on php.net but forgot the command..
Thanks for any help![]()
Coming and going...
Highers are getting the better of me
getimagesize
Whatever filePHP Code:<?php
list($width, $height, $type, $attr) = getimagesize("image_name.gif");
?>
Ty
+REP if i can.
Coming and going...
Highers are getting the better of me
Want to hide these adverts? Register an account for free!