Just for the records:
//For odt
'application/vnd.oasis.opendocument.text',
'application/x-vnd.oasis.opendocument.text
',
//for ods
'application/vnd.oasis.opendocument.spreadsheet',
'application/x-
vnd.oasis.opendocument.spreadsheet',
//for odp
'application/vnd.oasis.opendocument.presentation',
'application/x-
vnd.oasis.opendocument.presentation'
On Dec 29, 2007 8:38 AM, rafael bonifaz <[EMAIL PROTECTED]> wrote:
>
>
> 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
-~----------~----~----~----~------~----~------~--~---