Home Ask Login Register

Developers Planet

Your answer is one click away!

cv max February 2016

How to upload an .lrc file in Codelgniter?

I want to upload an .lrc file in Codelgniter

But it always says:

The filetype you are attempting to upload is not allowed.

I tried adding:

'lrc'   =>  'application/octet-stream'

in MIMES.php, but it still doesn't work.

Thank you.


Keith Ivison February 2016

Just had a look at the content and you could try a text based or application based

'lrc' => 'text/plain';

'lrc' => array('application/XXyourapplicationXX', 'application/XX YourApplicationXX')

Post Status

Asked in February 2016
Viewed 1,763 times
Voted 10
Answered 1 times


Leave an answer

Quote of the day: live life