Welcome Guest, Not a member yet? Register   Sign In
Looking for mime types for firefox/linux

I'm in the middle of testing a script that allows user to send an attached file with a form2mail. It seems to be working OK in all set-ups but one. If I'm trying to send a textfil.doc from a linux/firefox browser the file.doc is not accepted. I'm pretty sure a OpenOffice dude never ever will use *.doc, but I like to fix this even so.

Is there some secret mime types out there that I'm not aware of? Does anyone have a list?

You never really know what mimes might get sent, all I've found to do is test, test, test and add as you find new ones.

Mhmm, thank you for the boring but healthy advice. Nr two works for opensuse/firefox.

'doc' => array('application/msword', 'text/plain'),

I'm really not a fan of how CI handles file uploads for this reason. I think MIME is a rather pointless way to handle it, because it doesn't really tell you anything about anything. I would be in favor of an option to skip mime checks entirely and rely purely on file extension.

[quote author="überfuzz" date="1257379693"]
Does anyone have a list?[/quote]
Else take a look here, here or here

To use cool icons take a look here

Theme © iAndrew 2016 - Forum software by © MyBB