The mime_content_type() function is an inbuilt function in PHP 4 >= 4.3.0, PHP 5, PHP 7 to Above which is used to get the MIME content-type of a file.
Syntax:
mime_content_type($filename);
Parameters: This function accepts single parameter $filename which specifies the path of the file which MIME details to be find.
Return Value: This function returns the MIME content type or False on failure.
HYPER ERA PVT.LTD | TERMS & CONDITIONS