$arquivo = "caminho/para/o/arquivo/nome-arquivo.ext";
$tipo = mime_content_type($arquivo);
echo $tipo;

simples não??

Valeu!!