Is it possible to determine the dimensions of an uploaded image? Iw ant to be able to stop people uploading images which are larger than 200*500.
You will require the GD/2 library getimagesize()
http://www.php.net/manual/en/function.getimagesize.php
What maybl8r03 said, but you won't need the library installed (though you will if you want to manipulate the image). Oh, look; there it is in the manual: listed under "Image Functions"