I need to get the x and y values of the image that i'm trying to upload. Is it possible and if yes -- how?
I have found getimagesize function but not sure how to get the value of the image that's being uploaded in it.
My upload form is:
<input type="file" name="myfile" value="">
I'm trying something like this:
$fileinfo = getimagesize($_FILES['myfile']);
echo $fileinfo[0] . ' x ' . $fileinfo[1]
doesn't seem to work... what am I missing?