Page 1 of 1

Using PHP to find an image's width & height

Posted: Sun Nov 26, 2006 6:23 pm
by haptic
Hi,
I have a simple script that allows you to upload images to a server. How can I grab the width and height of the image after it is uploaded?

Thanks!

Posted: Sun Nov 26, 2006 6:38 pm
by John Cartwright

Code: Select all

getimagesize()
:wink:

Posted: Sun Nov 26, 2006 7:22 pm
by haptic
thank you very much, I really appreciate your help.