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.

Answers


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

Search




Leave an answer