[eluser]Unknown[/eluser]
[quote author="bhbutter123" date="1325821219"]I am using file upload class and it is telling me I am trying to upload a file of a type not allowed. Here is what info I have:
$_FILE['userfile']['type'] = application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
In Controller
$config['allowed_types'] = 'pdf|doc|docx|xls|xlsx';
[/quote]
USE if forgotten: echo form_open_multipart('/FILENAME/', $attributes);