PHP- Alternative To The Depreciated mime_content_type Function And Fileinfo Functions
You’ve probably landed on this page because you want to find the Content-type of a file by using the mime_content_type function. But when you tried using the function, you were returned with a PHP error because it’s a depreciated function (PHP 4). Then you may have tried to use the Fileinfo function (am alternative suggested [...]
brightcherry.co.uk