According to the PHP manual (see http://us3.php.net/manual/en/function.getimagesize.php) I am supposed to be returned an associative array from getimagesize() with an element called 'mime':
$imgStatArray = @getimagesize("$locationPath/$imageFileName");
print_r($imgStatArray);
However, upon running this in my PHP 4.3.6 environment from the Ninth Circle of Hell I am getting this back:
imgStatArray: Array ( [0] => 768 [1] => 512 [2] => 3 [3] => width="768" height="512" )
I do, however, return the third element [2] which has the numerical index pointing to the MIME type (which I would love to figure out how on earth I'd get it from there!), but no 'mime'.
Any ideas?
Thanx
Phil