Welcome Guest, Not a member yet? Register   Sign In
How to define your own MIME Typ

Is it possible to define my own MIME Typ?

I use CodeIgniter’s File Uploading Class. Can I specify my own mime type to control what is allowed to be upload. The Type is *.lpo and this is a customized database, like *.mdb.

Thanks for your help!

Do you mean something like this?

PHP Code:
$config['allowed_types'] = 'gif|jpg|lpo'

In the docs in preferences:

There is some other stuff about mime types like mod_mime_fix and detect_mime but have never had need to use or refer to them.

Best wishes,


Theme © iAndrew 2016 - Forum software by © MyBB