Показать выпадающий список

mime_content_type()

« microtime | min »
<?php
$string 
mime_content_type (
    
  // string $filename
);
?>
Результат
$string = 'image/jpeg'
Примеры
#1 mime_content_type  ("/tmp/flower.jpg")
#2 mime_content_type  ("/tmp/test.php")