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 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
> 
> > 

I googled for odt mime types and came up with this
http://filext.com/file-extension/ODT

HTH,

Ronald Chaplin
                                        Owner - T73 Software and Designs

                                                                        
________________________________________________________________________

                                              http://t73-softdesign.com/

                                          We'll Make All Of Your Wildest

                                            e-Commerce Dreams Come True!

--~--~---------~--~----~------------~-------~--~----~
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