Works locally but on the two servers I\'ve tried the same error message is shown. Using Codeigniter 2.1.3
private function upload_file(){
$config[\'uploa
So even though the code is all correct the error is actually on PHP itself. There's a spelling mistake in there mime-types.
When var_dump($_FILES)
it spitting out ["type"]=> string(14) "aplication/pdf"
Note that "application" is spelt wrong.
Checked on workmates machine and his correct, so might be an issue with php >5.3.5