I want to get the width value of an image using "getimagesize", but php doesn't seem to get the variables from the function's array through the "list" function.
list($width, $height) = getimagesize($file);
echo $width;
i get $width as undefined.
What might be causing this?
Thanks.
$fileis correct and is an image?