Answers for "get file extension from mime type + php"

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