MimeUploadHandlerMap
Summary
This setting maps MIME type to the name of an upload handler. When the handler is found for a given MIME type, it will be used instead of the normal attribute based upload.Usage
MimeUploadHandlerMap[<MIME_type>]=<handler_identifier>MimeUploadHandlerMap[<MIME_group>]=<handler_identifier>
Description
This setting maps MIME type to the name of an upload handler. When the handler is found for a given MIME type, it will be used instead of the normal attribute based upload.The <handler_identifier> will be used for both the class name and the filename of the PHP file. The system will look for the file named <handler_identifier>.php.The key can either be the full MIME type, for example [image/jpeg], or just the MIME group, like [image]. By using only the group the handler can take care of the entire set of MIME types.
By default this setting is left empty or commented out. This setting is case sensitive.
Examples
MimeUploadHandlerMap[application/vnd.sun.xml.writer]=ezopenofficeupload
The above example setting can be used for of OpenOffice.org handling. The system will look for ezopenofficeupload.php.
Geir Arne Waaler (13/10/2010 1:01 pm)
Geir Arne Waaler (13/10/2010 1:01 pm)
Comments
There are no comments.