1

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.

John Hascall
  • 9,176
  • 6
  • 48
  • 72
cv max
  • 13
  • 4

1 Answers1

0

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')

Keith Ivison
  • 387
  • 4
  • 11