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! Tom
Do you mean something like this?
PHP Code: $config['allowed_types'] = 'gif|jpg|lpo'; In the docs in preferences: https://www.codeigniter.com/user_guide/l...references 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, Paul |
Welcome Guest, Not a member yet? Register Sign In |