[eluser]stuffradio[/eluser]
I'm getting these two errors:
"You have not specified any allowed file types.
The filetype you are attempting to upload is not allowed."
Here is my code:
Code:
$config['upload_path'] = "system/application/views/photos/";
$config['allowed_type'] = "jpeg|gif";
$config['overwrite'] = 'false';
$config['max_size'] = '1000';
$config['max_width'] = '723';
$config['max_height'] = '489';
$this->load->library('upload', $config);
Why is this happening? I really don't get it. I tried in IE and FF and it won't work.