Mime Type errors for upload library |
I'm getting an error stating that the "type is not allowed", but I've tried both the file extension and the mime types separated by pipes.
I'm attempting to allow uploads of .odt, .ods, .odp, .docx, .xls, txt, zip, and .pdf files. Code: $config['allowed_types'] = 'application/vnd.oasis.opendocument.spreadsheet | application/vnd.oasis.opendocument.text | application/vnd.oasis.opendocument.presentation | application/vnd.openxmlformats-officedocument.wordprocessingml.document | application/vnd.ms-excel | application/vnd.openxmlformats-officedocument.presentationml.presentation | zip | txt | application/pdf'; Here is where I got the MIME types for the LibreOffice files. Any ideas? |
Messages In This Thread |
Mime Type errors for upload library - by bmarker - 02-11-2015, 11:23 AM
RE: Mime Type errors for upload library - by CroNiX - 02-11-2015, 02:13 PM
RE: Mime Type errors for upload library - by bmarker - 02-12-2015, 07:03 AM
RE: Mime Type errors for upload library - by bmarker - 02-12-2015, 11:43 AM
RE: Mime Type errors for upload library - by CroNiX - 02-12-2015, 12:16 PM
|