am uploading the images to db, and am geting the images width and height from the temp name .

PHP Code:
$img_info getimagesize($HTTP_POST_FILES[image][tmp_name][$num]); 
the strange thing when i make echo for the img_info[0] and img_info[1] , i got the real size for image, but it insert it into db always 127 x 127 !!!