php get image dimension

print_r(getimagesize($_FILES['BM_BACKGROUND_IMAGE']['tmp_name']));

 

Author: bm on January 10, 2014
Category: php