Answer the question
In order to leave comments, you need to log in
How can I add a file type to the list of supported mime_content_type functions?
For example, there is a sample.mkv file.
If we ask php about the mime-type of this file, we get "application/octet-stream". And the desired correct answer is " video/x-matroska ".
Is there some config in php itself, or in the OS, or in the web server, in which you can add the necessary matching lines?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question