Welcome Guest, Not a member yet? Register   Sign In
Silly Excel MIME-types?
#1

[eluser]lay-z-cow[/eluser]
Hi,

I have a silly Problem, which is driving me crazy, so I want to ask if someone had a similar experience.

When I try to upload Excel files, I get an error, that this filetype is not allowed.

Because:

Code:
$_FILES['userfile']['type']

Has the value

Code:
\"application/excel\"

instead of

Code:
application/excel

WHY?!

Ok, my php escapes the quotes, but why are there even qoutes at all? I just don't get it.

Any ideas?


Greets,

Chris

P.S.: It seems, that this is only the case using excel files. Other file types work proper. Strange... isn't it?
#2

[eluser]Jamie Rumbelow[/eluser]
The latest update of CodeIgniter (1.6.2) has support for excel mime-types, and was released a few hours ago.
#3

[eluser]lay-z-cow[/eluser]
Hi Jemgames,

I checked, the application/config/mimes.php, but my special case is not listed there. Sad

Anyways, I have good timing. Big Grin

Does anyone know, if there will be upgrade instructions? (I believe there were some in further versions)

Greets,

Chris




Theme © iAndrew 2016 - Forum software by © MyBB