getimagesize() returning null values

Monday, July 7, 2014

I have a form in that i have file upload to upload an image.I need to get the image height and widgth.For this im using getimagesize() method though I passes the correct variable it was not returning any value.

$size = getimagesize($_FILES['artimage']['tmp_name']);

But im getting the null values.I checked whther im passing correct data or not..I got this url /private/temp/phpXrth

I dont where im making wrong .I googled it but they are giving the same solution.Could anyone help me for this