I am doing an image upload handler and I would like it to detect the dimensions of the image that’s been uploaded by the user.
So I start with:
if (isset($_FILES['image'])) etc....
and I have
list($width, $height) = getimagesize(...);
How am i supposed to use them together?
Thanks a lot
You can do this as such
Using the condition combined, here is an example