image size during upload
Posted: Wed Aug 10, 2005 4:49 pm
I've been reading through the manual on file uploads, and it appears the $_FILES array does not contain information on the size (in pixels) of an image being uploaded. This makes sense, because it could not return pixels if the file wasn't an image.
with that said,
does not seem to be working for me.
Is it possible to grab an images dimensions before move_uploaded_file() ?
with that said,
Code: Select all
$size = getimagesize($_FILES['filetoupload']['tmp_name']);Is it possible to grab an images dimensions before move_uploaded_file() ?