00001 <?php
00002
00003
00004
00005 $mimetypes = array (
00006 'avi' => 'video/x-msvideo',
00007 'bmp' => 'image/bmp',
00008 'class' => 'application/octet-stream',
00009 'css' => 'text/css',
00010 'dcr' => 'application/x-director',
00011 'doc' => 'application/msword',
00012 'dtd' => 'application/xml-dtd',
00013 'gif' => 'image/gif',
00014 'htm' => 'text/html',
00015 'html' => 'text/html',
00016 'ico' => 'image/x-icon',
00017 'jpeg' => 'image/jpeg',
00018 'jpg' => 'image/jpeg',
00019 'js' => 'application/x-javascript',
00020 'mov' => 'video/quicktime',
00021 'mp3' => 'audio/mpeg',
00022 'mpeg' => 'video/mpeg',
00023 'mpg' => 'video/mpeg',
00024 'ogg' => 'application/ogg',
00025 'pdb' => 'chemical/x-pdb',
00026 'pdf' => 'application/pdf',
00027 'png' => 'image/png',
00028 'ppt' => 'application/vnd.ms-powerpoint',
00029 'ps' => 'application/postscript',
00030 'qt' => 'video/quicktime',
00031 'ra' => 'audio/x-pn-realaudio',
00032 'ram' => 'audio/x-pn-realaudio',
00033 'rdf' => 'application/rdf+xml',
00034 'rm' => 'application/vnd.rn-realmedia',
00035 'rtf' => 'text/rtf',
00036 'smi' => 'application/smil',
00037 'smil' => 'application/smil',
00038 'svg' => 'image/svg+xml',
00039 'swf' => 'application/x-shockwave-flash',
00040 'txt' => 'text/plain',
00041 'vrml' => 'model/vrml',
00042 'wav' => 'audio/x-wav',
00043 'wrl' => 'model/vrml',
00044 'xhtml' => 'application/xhtml+xml',
00045 'xls' => 'application/vnd.ms-excel',
00046 'xml' => 'application/xml',
00047 'xsl' => 'application/xml',
00048 'xslt' => 'application/xslt+xml',
00049 'xul' => 'application/vnd.mozilla.xul+xml',
00050 'zip' => 'application/zip'
00051 );
00052
00053 ?>