getting uplaoding img width and height info

Hi,
   I would like to know if there's any way to get the img's width and height for an uploading image while they try to upload an image using FORM. Thanks for your help
swongeAsked:
Who is Participating?
 
a.marshCommented:
Once the file has been uploaded to the server (and ideally once you've copied the file to wherever it needs to go) you simply need to use this PHP function:

http://www.php.net/manual/en/function.getimagesize.php

:o)

Ant
0
 
katyanCommented:
i don't think so. it's after all binary data that u get when a form is submitted.
0
 
swongeAuthor Commented:
Thanks for your help, it suit exactly what I have to do.  Thank you so much =)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.