Php doesn't return the correct mime type

前端 未结 5 1696
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 18:02

The finfo function is returning crazy mime types. Look the following code, what is going on?



        
5条回答
  •  礼貌的吻别
    2020-12-20 18:03

    Have you checked your server's mime type definitions? I assume it uses the servers definitions just like browsers use the client computers definition for uploaded files.

提交回复
热议问题