On Dec 28, 2007 4:18 PM, Ron Chaplin <[EMAIL PROTECTED]> wrote:

>  On Fri, 2007-12-28 at 12:56 -0800, [EMAIL PROTECTED] wrote:
>
> Hi all,
> I am using the file handler component made by Chris Partridge and itworks 
> really good. The problem I have is that I want to uploadopendocument files to 
> the server, but I does not recognize them asvaild files. I know that the 
> solution is to modify the $allowedMimearray and add the string for the open 
> document mime type.
> I don't know what is the mime type for open document files. Forexample I want 
> to upload an text document to the server with the odtextention. So in my 
> linux shell y execute the following command:$ file -ib 
> file.odtapplication/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 themime type because I 
> can upload the other of mime types supported bydefault.
> Hope someone can help me on this.
> Greetings,
> Rafael
>
>  I googled for odt mime types and came up with this
> http://filext.com/file-extension/ODT
>
>   HTH,
>
Thanks a lot for your help Ronald. I whould googled first.

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