fileinfo and mime types I've never heard of

Posted by Jim on Stack Overflow See other posts from Stack Overflow or by Jim
Published on 2010-02-27T01:35:45Z Indexed on 2010/05/10 16:44 UTC
Read the original article Hit count: 323

Filed under:

I'm not a stranger to mime types but this is strange. Normally, a text file would have been considered to be of text/plain mime but now, after implementing fileinfo, this type of file is now considered to be "text/x-pascal". I'm a little concerned because I need to be sure that I get the correct mime types set before allowing users to upload with it.

Is there a cheat sheet that will give me all of the "common" mimes as they are interpreted by fileinfo?


Sinan provided a link that lists all of the more common mimes. If you look at this list, you will see that a .txt file is of text/plain mime but in my case, a plain-jane text file is interpreted as text/pascal.

© Stack Overflow or respective owner

Related posts about php