Answers for "php get mime type of a file without download"

PHP
-2

php get file mime type

echo mime_content_type("yourfile.gif"); //image/gif
Posted by: Guest on February-12-2021

Browse Popular Code Answers by Language