Hallo
How can i control image dimensions to limilt uploads to specific dimensions,
for example if i want the user to upload ONLY images with dimensions < 100 pixel
use getimagesize() which will return [0]=width and [1]=height
$img=getimagesize($_FILES['uploadefile']['tml_name']); if (($img[0]>100) or ($img[1]>100)) { // fail } else { // ok }