powered by
Returns the MIME type of an image based on the filename extension. If a MIME type for a file extension cannot not found, then the extension itself will be returned.
filename
mime_image(filename)mime_img(filename)
mime_img(filename)
A character.
character: file name
mime_image("support.png") mime_image("support.jpg")
Run the code above in your browser using DataLab