Problem getting image size using php

Hello people I am having problem getting imagesize using php here is what i used but it gives me error while runs on the original one i dwnloaded

//list($width_orig, $height_orig) = getimagesize($_FILES['Photo']['name']);