Help - Search - Members - Calendar
Full Version: PHP: Height of an image inside $_FILES?
Invision Power Services > Community Forums > Community Web Design and Coding
_
I'm attempting to pass an image on from a form using multipart/form-data, and it works fine. But I need to get the dimensions [mainly height] of the image. I know I could copy() it and use getimagesize(), but I would like to know if there is another way.
Michael_C
Why not just getimagesize($_FILES['userfile']['tmp_name']).
_
QUOTE(Michael_C @ Mar 12 2005, 02:43 PM)
Why not just getimagesize($_FILES['userfile']['tmp_name']).
*

Right, of course.
Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.