Hi all,

I am using the file handler component made by Chris Partridge and it
works really good. The problem I have is that I want to upload
opendocument files to the server, but I does not recognize them as
vaild files. I know that the solution is to modify the $allowedMime
array and add the string for the open document mime type.

I don't know what is the mime type for open document files. For
example I want to upload an text document to the server with the odt
extention. So in my linux shell y execute the following command:
$ file -ib file.odt
application/x-zip

So I put that mimetype on the array, but the file is not uploaded.
There is no erroror message, but I know that the problem is with the
mime type because I can upload the other of mime types supported by
default.

Hope someone can help me on this.

Greetings,

Rafael

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to