Why am I getting mime-type of .csv file as “application/octet-stream”?

后端 未结 4 683
忘掉有多难
忘掉有多难 2020-11-29 07:04

I\'m working on a PHP application that must import an excel file into MySQL. So I need to convert the excel file to .csv format. But when I want to get its type using

4条回答
  •  暖寄归人
    2020-11-29 07:49

    All of the mime-types you listed show up as common mime-types for csv files on http://filext.com/file-extension/CSV

    So basically I'd say it comes down to which program generated the .csv file and which mime-type they decided to use.

提交回复
热议问题