i understand you can use getimagesize() to grab the dimensions of an image before you upload it using move_uploaded_file() to prevent the user from uploading too large an image...
unfortunately this doesnt work for me, i get a basedir restriction error saying it couldn't open the file i passed it...
any way around this?