need help with Framework CodeIgniter... now i made a simple upload function. but when i want to upload file "image.PNG" or "image.JPG" it will return false.. but went i upload image file "image.png" or "image.jpg" i sucess upload it.
i controllers, i set the config with this
$config['allowed_types'] = 'gif|jpg|png|PNG|JPG';
and in file /application/config/mimes.php. i also added
'png' => array('image/png', 'image/x-png'),
'PNG' => array('image/PNG', 'image/x-PNG'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'JPG' => array('image/jpeg', 'image/pjpeg'),
still can't work.. please help me