2 Replies - 768 Views - Last Post: 14 September 2013 - 12:15 PM Rate Topic: -----

#1 VolcomMky  Icon User is offline

  • D.I.C Regular

Reputation: 74
  • View blog
  • Posts: 315
  • Joined: 13-May 09

List of Extensions (MIME Type, Extension, and Description)

Posted 13 September 2013 - 05:22 PM

I found a list today while doing a search for a uploading script & dynamic display for secured files.

Anways, here is the original list aka Source Free Formatter :: Mime Types

I was writing my code in php, so I took the time to throw this together.
Hope it helps you all in some way or another!!

Very useful when using headers!!
<?php
$myFile = 'some_file.pdf';
$eInfo = ExtInfo($myFile);
if($eInfo && file_exists($myFile))
{
    header("Cache-Control: no-cache, must-revalidate");
    header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
    header('Content-type: ' . $eInfo['mime']);
    echo(file_get_contents($myFile));
}
?>


<?php
$ext = ExtInfo('some_file.pdf');

if($ext)
{
	echo($ext['mime']); // application/pdf
	echo($ext['type']); // Adobe Portable Document Format
}
else
{
	echo('Unknown file extension');
}

function ExtInfo($file)
{
	$extensions = array(
		'x3d'=>array('type'=>'3D Crossword Plugin','mime'=>'application/vnd.hzn-3d-crossword'),
		'3gp'=>array('type'=>'3GP','mime'=>'video/3gpp'),
		'3g2'=>array('type'=>'3GP2','mime'=>'video/3gpp2'),
		'mseq'=>array('type'=>'3GPP MSEQ File','mime'=>'application/vnd.mseq'),
		'pwn'=>array('type'=>'3M Post It Notes','mime'=>'application/vnd.3m.post-it-notes'),
		'plb'=>array('type'=>'3rd Generation Partnership Project - Pic Large','mime'=>'application/vnd.3gpp.pic-bw-large'),
		'psb'=>array('type'=>'3rd Generation Partnership Project - Pic Small','mime'=>'application/vnd.3gpp.pic-bw-small'),
		'pvb'=>array('type'=>'3rd Generation Partnership Project - Pic Var','mime'=>'application/vnd.3gpp.pic-bw-var'),
		'tcap'=>array('type'=>'3rd Generation Partnership Project - Transaction Capabilities Application Part','mime'=>'application/vnd.3gpp2.tcap'),
		'7z'=>array('type'=>'7-Zip','mime'=>'application/x-7z-compressed'),
		'abw'=>array('type'=>'AbiWord','mime'=>'application/x-abiword'),
		'ace'=>array('type'=>'Ace Archive','mime'=>'application/x-ace-compressed'),
		'acc'=>array('type'=>'Active Content Compression','mime'=>'application/vnd.americandynamics.acc'),
		'acu'=>array('type'=>'ACU Cobol','mime'=>'application/vnd.acucobol'),
		'atc'=>array('type'=>'ACU Cobol','mime'=>'application/vnd.acucorp'),
		'adp'=>array('type'=>'Adaptive differential pulse-code modulation','mime'=>'audio/adpcm'),
		'aab'=>array('type'=>'Adobe (Macropedia) Authorware - Binary File','mime'=>'application/x-authorware-bin'),
		'aam'=>array('type'=>'Adobe (Macropedia) Authorware - Map','mime'=>'application/x-authorware-map'),
		'aas'=>array('type'=>'Adobe (Macropedia) Authorware - Segment File','mime'=>'application/x-authorware-seg'),
		'air'=>array('type'=>'Adobe AIR Application','mime'=>'application/vnd.adobe.air-application-installer-package+zip'),
		'swf'=>array('type'=>'Adobe Flash','mime'=>'application/x-shockwave-flash'),
		'fxp'=>array('type'=>'Adobe Flex Project','mime'=>'application/vnd.adobe.fxp'),
		'pdf'=>array('type'=>'Adobe Portable Document Format','mime'=>'application/pdf'),
		'ppd'=>array('type'=>'Adobe PostScript Printer Description File Format','mime'=>'application/vnd.cups-ppd'),
		'dir'=>array('type'=>'Adobe Shockwave Player','mime'=>'application/x-director'),
		'xdp'=>array('type'=>'Adobe XML Data Package','mime'=>'application/vnd.adobe.xdp+xml'),
		'xfdf'=>array('type'=>'Adobe XML Forms Data Format','mime'=>'application/vnd.adobe.xfdf'),
		'aac'=>array('type'=>'Advanced Audio Coding (AAC)','mime'=>'audio/x-aac'),
		'ahead'=>array('type'=>'Ahead AIR Application','mime'=>'application/vnd.ahead.space'),
		'azf'=>array('type'=>'AirZip FileSECURE','mime'=>'application/vnd.airzip.filesecure.azf'),
		'azs'=>array('type'=>'AirZip FileSECURE','mime'=>'application/vnd.airzip.filesecure.azs'),
		'azw'=>array('type'=>'Amazon Kindle eBook format','mime'=>'application/vnd.amazon.ebook'),
		'ami'=>array('type'=>'AmigaDE','mime'=>'application/vnd.amiga.ami'),
		'apk'=>array('type'=>'Android Package Archive','mime'=>'application/vnd.android.package-archive'),
		'cii'=>array('type'=>'ANSER-WEB Terminal Client - Certificate Issue','mime'=>'application/vnd.anser-web-certificate-issue-initiation'),
		'fti'=>array('type'=>'ANSER-WEB Terminal Client - Web Funds Transfer','mime'=>'application/vnd.anser-web-funds-transfer-initiation'),
		'atx'=>array('type'=>'Antix Game Player','mime'=>'application/vnd.antix.game-component'),
		'mpkg'=>array('type'=>'Apple Installer Package','mime'=>'application/vnd.apple.installer+xml'),
		'aw'=>array('type'=>'Applixware','mime'=>'application/applixware'),
		'les'=>array('type'=>'Archipelago Lesson Player','mime'=>'application/vnd.hhe.lesson-player'),
		'swi'=>array('type'=>'Arista Networks Software Image','mime'=>'application/vnd.aristanetworks.swi'),
		's'=>array('type'=>'Assembler Source File','mime'=>'text/x-asm'),
		'atomcat'=>array('type'=>'Atom Publishing Protocol','mime'=>'application/atomcat+xml'),
		'atomsvc'=>array('type'=>'Atom Publishing Protocol Service Document','mime'=>'application/atomsvc+xml'),
		'atom'=>array('type'=>'Atom Syndication Format','mime'=>'application/atom+xml'),
		'xml'=>array('type'=>'Atom Syndication Format','mime'=>'application/atom+xml'),
		'ac'=>array('type'=>'Attribute Certificate','mime'=>'application/pkix-attr-cert'),
		'aif'=>array('type'=>'Audio Interchange File Format','mime'=>'audio/x-aiff'),
		'avi'=>array('type'=>'Audio Video Interleave (AVI)','mime'=>'video/x-msvideo'),
		'aep'=>array('type'=>'Audiograph','mime'=>'application/vnd.audiograph'),
		'dxf'=>array('type'=>'AutoCAD DXF','mime'=>'image/vnd.dxf'),
		'dwf'=>array('type'=>'Autodesk Design Web Format (DWF)','mime'=>'model/vnd.dwf'),
		'par'=>array('type'=>'BAS Partitur Format','mime'=>'text/plain-bas'),
		'bcpio'=>array('type'=>'Binary CPIO Archive','mime'=>'application/x-bcpio'),
		'bin'=>array('type'=>'Binary Data','mime'=>'application/octet-stream'),
		'bmp'=>array('type'=>'Bitmap Image File','mime'=>'image/bmp'),
		'torrent'=>array('type'=>'BitTorrent','mime'=>'application/x-bittorrent'),
		'cod'=>array('type'=>'Blackberry COD File','mime'=>'application/vnd.rim.cod'),
		'mpm'=>array('type'=>'Blueice Research Multipass','mime'=>'application/vnd.blueice.multipass'),
		'bmi'=>array('type'=>'BMI Drawing Data Interchange','mime'=>'application/vnd.bmi'),
		'sh'=>array('type'=>'Bourne Shell Script','mime'=>'application/x-sh'),
		'btif'=>array('type'=>'BTIF','mime'=>'image/prs.btif'),
		'rep'=>array('type'=>'BusinessObjects','mime'=>'application/vnd.businessobjects'),
		'bz'=>array('type'=>'Bzip Archive','mime'=>'application/x-bzip'),
		'bz2'=>array('type'=>'Bzip2 Archive','mime'=>'application/x-bzip2'),
		'csh'=>array('type'=>'C Shell Script','mime'=>'application/x-csh'),
		'c'=>array('type'=>'C Source File','mime'=>'text/x-c'),
		'cdxml'=>array('type'=>'CambridgeSoft Chem Draw','mime'=>'application/vnd.chemdraw+xml'),
		'css'=>array('type'=>'Cascading Style Sheets (CSS)','mime'=>'text/css'),
		'cdx'=>array('type'=>'ChemDraw eXchange file','mime'=>'chemical/x-cdx'),
		'cml'=>array('type'=>'Chemical Markup Language','mime'=>'chemical/x-cml'),
		'csml'=>array('type'=>'Chemical Style Markup Language','mime'=>'chemical/x-csml'),
		'cdbcmsg'=>array('type'=>'CIM Database','mime'=>'application/vnd.contact.cmsg'),
		'cla'=>array('type'=>'Claymore Data Files','mime'=>'application/vnd.claymore'),
		'c4g'=>array('type'=>'Clonk Game','mime'=>'application/vnd.clonk.c4group'),
		'sub'=>array('type'=>'Close Captioning - Subtitle','mime'=>'image/vnd.dvb.subtitle'),
		'cdmia'=>array('type'=>'Cloud Data Management Interface (CDMI) - Capability','mime'=>'application/cdmi-capability'),
		'cdmic'=>array('type'=>'Cloud Data Management Interface (CDMI) - Contaimer','mime'=>'application/cdmi-container'),
		'cdmid'=>array('type'=>'Cloud Data Management Interface (CDMI) - Domain','mime'=>'application/cdmi-domain'),
		'cdmio'=>array('type'=>'Cloud Data Management Interface (CDMI) - Object','mime'=>'application/cdmi-object'),
		'cdmiq'=>array('type'=>'Cloud Data Management Interface (CDMI) - Queue','mime'=>'application/cdmi-queue'),
		'c11amc'=>array('type'=>'ClueTrust CartoMobile - Config','mime'=>'application/vnd.cluetrust.cartomobile-config'),
		'c11amz'=>array('type'=>'ClueTrust CartoMobile - Config Package','mime'=>'application/vnd.cluetrust.cartomobile-config-pkg'),
		'ras'=>array('type'=>'CMU Image','mime'=>'image/x-cmu-raster'),
		'dae'=>array('type'=>'COLLADA','mime'=>'model/vnd.collada+xml'),
		'csv'=>array('type'=>'Comma-Seperated Values','mime'=>'text/csv'),
		'cpt'=>array('type'=>'Compact Pro','mime'=>'application/mac-compactpro'),
		'wmlc'=>array('type'=>'Compiled Wireless Markup Language (WMLC)','mime'=>'application/vnd.wap.wmlc'),
		'cgm'=>array('type'=>'Computer Graphics Metafile','mime'=>'image/cgm'),
		'ice'=>array('type'=>'CoolTalk','mime'=>'x-conference/x-cooltalk'),
		'cmx'=>array('type'=>'Corel Metafile Exchange (CMX)','mime'=>'image/x-cmx'),
		'xar'=>array('type'=>'CorelXARA','mime'=>'application/vnd.xara'),
		'cmc'=>array('type'=>'CosmoCaller','mime'=>'application/vnd.cosmocaller'),
		'cpio'=>array('type'=>'CPIO Archive','mime'=>'application/x-cpio'),
		'clkx'=>array('type'=>'CrickSoftware - Clicker','mime'=>'application/vnd.crick.clicker'),
		'clkk'=>array('type'=>'CrickSoftware - Clicker - Keyboard','mime'=>'application/vnd.crick.clicker.keyboard'),
		'clkp'=>array('type'=>'CrickSoftware - Clicker - Palette','mime'=>'application/vnd.crick.clicker.palette'),
		'clkt'=>array('type'=>'CrickSoftware - Clicker - Template','mime'=>'application/vnd.crick.clicker.template'),
		'clkw'=>array('type'=>'CrickSoftware - Clicker - Wordbank','mime'=>'application/vnd.crick.clicker.wordbank'),
		'wbs'=>array('type'=>'Critical Tools - PERT Chart EXPERT','mime'=>'application/vnd.criticaltools.wbs+xml'),
		'cryptonote'=>array('type'=>'CryptoNote','mime'=>'application/vnd.rig.cryptonote'),
		'cif'=>array('type'=>'Crystallographic Interchange Format','mime'=>'chemical/x-cif'),
		'cmdf'=>array('type'=>'CrystalMaker Data Format','mime'=>'chemical/x-cmdf'),
		'cu'=>array('type'=>'CU-SeeMe','mime'=>'application/cu-seeme'),
		'cww'=>array('type'=>'CU-Writer','mime'=>'application/prs.cww'),
		'curl'=>array('type'=>'Curl - Applet','mime'=>'text/vnd.curl'),
		'dcurl'=>array('type'=>'Curl - Detached Applet','mime'=>'text/vnd.curl.dcurl'),
		'mcurl'=>array('type'=>'Curl - Manifest File','mime'=>'text/vnd.curl.mcurl'),
		'scurl'=>array('type'=>'Curl - Source Code','mime'=>'text/vnd.curl.scurl'),
		'car'=>array('type'=>'CURL Applet','mime'=>'application/vnd.curl.car'),
		'pcurl'=>array('type'=>'CURL Applet','mime'=>'application/vnd.curl.pcurl'),
		'cmp'=>array('type'=>'CustomMenu','mime'=>'application/vnd.yellowriver-custom-menu'),
		'dssc'=>array('type'=>'Data Structure for the Security Suitability of Cryptographic Algorithms','mime'=>'application/dssc+der'),
		'xdssc'=>array('type'=>'Data Structure for the Security Suitability of Cryptographic Algorithms','mime'=>'application/dssc+xml'),
		'deb'=>array('type'=>'Debian Package','mime'=>'application/x-debian-package'),
		'uva'=>array('type'=>'DECE Audio','mime'=>'audio/vnd.dece.audio'),
		'uvi'=>array('type'=>'DECE Graphic','mime'=>'image/vnd.dece.graphic'),
		'uvh'=>array('type'=>'DECE High Definition Video','mime'=>'video/vnd.dece.hd'),
		'uvm'=>array('type'=>'DECE Mobile Video','mime'=>'video/vnd.dece.mobile'),
		'uvu'=>array('type'=>'DECE MP4','mime'=>'video/vnd.uvvu.mp4'),
		'uvp'=>array('type'=>'DECE PD Video','mime'=>'video/vnd.dece.pd'),
		'uvs'=>array('type'=>'DECE SD Video','mime'=>'video/vnd.dece.sd'),
		'uvv'=>array('type'=>'DECE Video','mime'=>'video/vnd.dece.video'),
		'dvi'=>array('type'=>'Device Independent File Format (DVI)','mime'=>'application/x-dvi'),
		'seed'=>array('type'=>'Digital Siesmograph Networks - SEED Datafiles','mime'=>'application/vnd.fdsn.seed'),
		'dtb'=>array('type'=>'Digital Talking Book','mime'=>'application/x-dtbook+xml'),
		'res'=>array('type'=>'Digital Talking Book - Resource File','mime'=>'application/x-dtbresource+xml'),
		'ait'=>array('type'=>'Digital Video Broadcasting','mime'=>'application/vnd.dvb.ait'),
		'svc'=>array('type'=>'Digital Video Broadcasting','mime'=>'application/vnd.dvb.service'),
		'eol'=>array('type'=>'Digital Winds Music','mime'=>'audio/vnd.digital-winds'),
		'djvu'=>array('type'=>'DjVu','mime'=>'image/vnd.djvu'),
		'dtd'=>array('type'=>'Document Type Definition','mime'=>'application/xml-dtd'),
		'mlp'=>array('type'=>'Dolby Meridian Lossless Packing','mime'=>'application/vnd.dolby.mlp'),
		'wad'=>array('type'=>'Doom Video Game','mime'=>'application/x-doom'),
		'dpg'=>array('type'=>'DPGraph','mime'=>'application/vnd.dpgraph'),
		'dra'=>array('type'=>'DRA Audio','mime'=>'audio/vnd.dra'),
		'dfac'=>array('type'=>'DreamFactory','mime'=>'application/vnd.dreamfactory'),
		'dts'=>array('type'=>'DTS Audio','mime'=>'audio/vnd.dts'),
		'dtshd'=>array('type'=>'DTS High Definition Audio','mime'=>'audio/vnd.dts.hd'),
		'dwg'=>array('type'=>'DWG Drawing','mime'=>'image/vnd.dwg'),
		'geo'=>array('type'=>'DynaGeo','mime'=>'application/vnd.dynageo'),
		'es'=>array('type'=>'ECMAScript','mime'=>'application/ecmascript'),
		'mag'=>array('type'=>'EcoWin Chart','mime'=>'application/vnd.ecowin.chart'),
		'mmr'=>array('type'=>'EDMICS 2000','mime'=>'image/vnd.fujixerox.edmics-mmr'),
		'rlc'=>array('type'=>'EDMICS 2000','mime'=>'image/vnd.fujixerox.edmics-rlc'),
		'exi'=>array('type'=>'Efficient XML Interchange','mime'=>'application/exi'),
		'mgz'=>array('type'=>'EFI Proteus','mime'=>'application/vnd.proteus.magazine'),
		'epub'=>array('type'=>'Electronic Publication','mime'=>'application/epub+zip'),
		'eml'=>array('type'=>'Email Message','mime'=>'message/rfc822'),
		'nml'=>array('type'=>'Enliven Viewer','mime'=>'application/vnd.enliven'),
		'xpr'=>array('type'=>'Express by Infoseek','mime'=>'application/vnd.is-xpr'),
		'xif'=>array('type'=>'eXtended Image File Format (XIFF)','mime'=>'image/vnd.xiff'),
		'xfdl'=>array('type'=>'Extensible Forms Description Language','mime'=>'application/vnd.xfdl'),
		'emma'=>array('type'=>'Extensible MultiModal Annotation','mime'=>'application/emma+xml'),
		'ez2'=>array('type'=>'EZPix Secure Photo Album','mime'=>'application/vnd.ezpix-album'),
		'ez3'=>array('type'=>'EZPix Secure Photo Album','mime'=>'application/vnd.ezpix-package'),
		'fst'=>array('type'=>'FAST Search + Transfer ASA','mime'=>'image/vnd.fst'),
		'fvt'=>array('type'=>'FAST Search + Transfer ASA','mime'=>'video/vnd.fvt'),
		'fbs'=>array('type'=>'FastBid Sheet','mime'=>'image/vnd.fastbidsheet'),
		'fe_launch'=>array('type'=>'FCS Express Layout Link','mime'=>'application/vnd.denovo.fcselayout-link'),
		'f4v'=>array('type'=>'Flash Video','mime'=>'video/x-f4v'),
		'flv'=>array('type'=>'Flash Video','mime'=>'video/x-flv'),
		'fpx'=>array('type'=>'FlashPix','mime'=>'image/vnd.fpx'),
		'npx'=>array('type'=>'FlashPix','mime'=>'image/vnd.net-fpx'),
		'flx'=>array('type'=>'FLEXSTOR','mime'=>'text/vnd.fmi.flexstor'),
		'fli'=>array('type'=>'FLI/FLC Animation Format','mime'=>'video/x-fli'),
		'ftc'=>array('type'=>'FluxTime Clip','mime'=>'application/vnd.fluxtime.clip'),
		'fdf'=>array('type'=>'Forms Data Format','mime'=>'application/vnd.fdf'),
		'f'=>array('type'=>'Fortran Source File','mime'=>'text/x-fortran'),
		'mif'=>array('type'=>'FrameMaker Interchange Format','mime'=>'application/vnd.mif'),
		'fm'=>array('type'=>'FrameMaker Normal Format','mime'=>'application/vnd.framemaker'),
		'fh'=>array('type'=>'FreeHand MX','mime'=>'image/x-freehand'),
		'fsc'=>array('type'=>'Friendly Software Corporation','mime'=>'application/vnd.fsc.weblaunch'),
		'fnc'=>array('type'=>'Frogans Player','mime'=>'application/vnd.frogans.fnc'),
		'ltf'=>array('type'=>'Frogans Player','mime'=>'application/vnd.frogans.ltf'),
		'ddd'=>array('type'=>'Fujitsu - Xerox 2D CAD Data','mime'=>'application/vnd.fujixerox.ddd'),
		'xdw'=>array('type'=>'Fujitsu - Xerox DocuWorks','mime'=>'application/vnd.fujixerox.docuworks'),
		'xbd'=>array('type'=>'Fujitsu - Xerox DocuWorks Binder','mime'=>'application/vnd.fujixerox.docuworks.binder'),
		'oas'=>array('type'=>'Fujitsu Oasys','mime'=>'application/vnd.fujitsu.oasys'),
		'oa2'=>array('type'=>'Fujitsu Oasys','mime'=>'application/vnd.fujitsu.oasys2'),
		'oa3'=>array('type'=>'Fujitsu Oasys','mime'=>'application/vnd.fujitsu.oasys3'),
		'fg5'=>array('type'=>'Fujitsu Oasys','mime'=>'application/vnd.fujitsu.oasysgp'),
		'bh2'=>array('type'=>'Fujitsu Oasys','mime'=>'application/vnd.fujitsu.oasysprs'),
		'spl'=>array('type'=>'FutureSplash Animator','mime'=>'application/x-futuresplash'),
		'fzs'=>array('type'=>'FuzzySheet','mime'=>'application/vnd.fuzzysheet'),
		'g3'=>array('type'=>'G3 Fax Image','mime'=>'image/g3fax'),
		'gmx'=>array('type'=>'GameMaker ActiveX','mime'=>'application/vnd.gmx'),
		'gtw'=>array('type'=>'Gen-Trix Studio','mime'=>'model/vnd.gtw'),
		'txd'=>array('type'=>'Genomatix Tuxedo Framework','mime'=>'application/vnd.genomatix.tuxedo'),
		'ggb'=>array('type'=>'GeoGebra','mime'=>'application/vnd.geogebra.file'),
		'ggt'=>array('type'=>'GeoGebra','mime'=>'application/vnd.geogebra.tool'),
		'gdl'=>array('type'=>'Geometric Description Language (GDL)','mime'=>'model/vnd.gdl'),
		'gex'=>array('type'=>'GeoMetry Explorer','mime'=>'application/vnd.geometry-explorer'),
		'gxt'=>array('type'=>'GEONExT and JSXGraph','mime'=>'application/vnd.geonext'),
		'g2w'=>array('type'=>'GeoplanW','mime'=>'application/vnd.geoplan'),
		'g3w'=>array('type'=>'GeospacW','mime'=>'application/vnd.geospace'),
		'gsf'=>array('type'=>'Ghostscript Font','mime'=>'application/x-font-ghostscript'),
		'bdf'=>array('type'=>'Glyph Bitmap Distribution Format','mime'=>'application/x-font-bdf'),
		'gtar'=>array('type'=>'GNU Tar Files','mime'=>'application/x-gtar'),
		'texinfo'=>array('type'=>'GNU Texinfo Document','mime'=>'application/x-texinfo'),
		'gnumeric'=>array('type'=>'Gnumeric','mime'=>'application/x-gnumeric'),
		'kml'=>array('type'=>'Google Earth - KML','mime'=>'application/vnd.google-earth.kml+xml'),
		'kmz'=>array('type'=>'Google Earth - Zipped KML','mime'=>'application/vnd.google-earth.kmz'),
		'gqf'=>array('type'=>'GrafEq','mime'=>'application/vnd.grafeq'),
		'gif'=>array('type'=>'Graphics Interchange Format','mime'=>'image/gif'),
		'gv'=>array('type'=>'Graphviz','mime'=>'text/vnd.graphviz'),
		'gac'=>array('type'=>'Groove - Account','mime'=>'application/vnd.groove-account'),
		'ghf'=>array('type'=>'Groove - Help','mime'=>'application/vnd.groove-help'),
		'gim'=>array('type'=>'Groove - Identity Message','mime'=>'application/vnd.groove-identity-message'),
		'grv'=>array('type'=>'Groove - Injector','mime'=>'application/vnd.groove-injector'),
		'gtm'=>array('type'=>'Groove - Tool Message','mime'=>'application/vnd.groove-tool-message'),
		'tpl'=>array('type'=>'Groove - Tool Template','mime'=>'application/vnd.groove-tool-template'),
		'vcg'=>array('type'=>'Groove - Vcard','mime'=>'application/vnd.groove-vcard'),
		'h261'=>array('type'=>'H.261','mime'=>'video/h261'),
		'h263'=>array('type'=>'H.263','mime'=>'video/h263'),
		'h264'=>array('type'=>'H.264','mime'=>'video/h264'),
		'hpid'=>array('type'=>'Hewlett Packard Instant Delivery','mime'=>'application/vnd.hp-hpid'),
		'hps'=>array('type'=>'Hewlett-Packard\'s WebPrintSmart','mime'=>'application/vnd.hp-hps'),
		'hdf'=>array('type'=>'Hierarchical Data Format','mime'=>'application/x-hdf'),
		'rip'=>array('type'=>'Hit\'n\'Mix','mime'=>'audio/vnd.rip'),
		'hbci'=>array('type'=>'Homebanking Computer Interface (HBCI)','mime'=>'application/vnd.hbci'),
		'jlt'=>array('type'=>'HP Indigo Digital Press - Job Layout Languate','mime'=>'application/vnd.hp-jlyt'),
		'pcl'=>array('type'=>'HP Printer Command Language','mime'=>'application/vnd.hp-pcl'),
		'hpgl'=>array('type'=>'HP-GL/2 and HP RTL','mime'=>'application/vnd.hp-hpgl'),
		'hvs'=>array('type'=>'HV Script','mime'=>'application/vnd.yamaha.hv-script'),
		'hvd'=>array('type'=>'HV Voice Dictionary','mime'=>'application/vnd.yamaha.hv-dic'),
		'hvp'=>array('type'=>'HV Voice Parameter','mime'=>'application/vnd.yamaha.hv-voice'),
		'sfd-hdstx'=>array('type'=>'Hydrostatix Master Suite','mime'=>'application/vnd.hydrostatix.sof-data'),
		'stk'=>array('type'=>'Hyperstudio','mime'=>'application/hyperstudio'),
		'hal'=>array('type'=>'Hypertext Application Language','mime'=>'application/vnd.hal+xml'),
		'html'=>array('type'=>'HyperText Markup Language (HTML)','mime'=>'text/html'),
		'irm'=>array('type'=>'IBM DB2 Rights Manager','mime'=>'application/vnd.ibm.rights-management'),
		'sc'=>array('type'=>'IBM Electronic Media Management System - Secure Container','mime'=>'application/vnd.ibm.secure-container'),
		'ics'=>array('type'=>'iCalendar','mime'=>'text/calendar'),
		'icc'=>array('type'=>'ICC profile','mime'=>'application/vnd.iccprofile'),
		'ico'=>array('type'=>'Icon Image','mime'=>'image/x-icon'),
		'igl'=>array('type'=>'igLoader','mime'=>'application/vnd.igloader'),
		'ief'=>array('type'=>'Image Exchange Format','mime'=>'image/ief'),
		'ivp'=>array('type'=>'ImmerVision PURE Players','mime'=>'application/vnd.immervision-ivp'),
		'ivu'=>array('type'=>'ImmerVision PURE Players','mime'=>'application/vnd.immervision-ivu'),
		'rif'=>array('type'=>'IMS Networks','mime'=>'application/reginfo+xml'),
		'3dml'=>array('type'=>'In3D - 3DML','mime'=>'text/vnd.in3d.3dml'),
		'spot'=>array('type'=>'In3D - 3DML','mime'=>'text/vnd.in3d.spot'),
		'igs'=>array('type'=>'Initial Graphics Exchange Specification (IGES)','mime'=>'model/iges'),
		'i2g'=>array('type'=>'Interactive Geometry Software','mime'=>'application/vnd.intergeo'),
		'cdy'=>array('type'=>'Interactive Geometry Software Cinderella','mime'=>'application/vnd.cinderella'),
		'xpw'=>array('type'=>'Intercon FormNet','mime'=>'application/vnd.intercon.formnet'),
		'fcs'=>array('type'=>'International Society for Advancement of Cytometry','mime'=>'application/vnd.isac.fcs'),
		'ipfix'=>array('type'=>'Internet Protocol Flow Information Export','mime'=>'application/ipfix'),
		'cer'=>array('type'=>'Internet Public Key Infrastructure - Certificate','mime'=>'application/pkix-cert'),
		'pki'=>array('type'=>'Internet Public Key Infrastructure - Certificate Management Protocole','mime'=>'application/pkixcmp'),
		'crl'=>array('type'=>'Internet Public Key Infrastructure - Certificate Revocation Lists','mime'=>'application/pkix-crl'),
		'pkipath'=>array('type'=>'Internet Public Key Infrastructure - Certification Path','mime'=>'application/pkix-pkipath'),
		'igm'=>array('type'=>'IOCOM Visimeet','mime'=>'application/vnd.insors.igm'),
		'rcprofile'=>array('type'=>'IP Unplugged Roaming Client','mime'=>'application/vnd.ipunplugged.rcprofile'),
		'irp'=>array('type'=>'iRepository / Lucidoc Editor','mime'=>'application/vnd.irepository.package+xml'),
		'jad'=>array('type'=>'J2ME App Descriptor','mime'=>'text/vnd.sun.j2me.app-descriptor'),
		'jar'=>array('type'=>'Java Archive','mime'=>'application/java-archive'),
		'class'=>array('type'=>'Java Bytecode File','mime'=>'application/java-vm'),
		'jnlp'=>array('type'=>'Java Network Launching Protocol','mime'=>'application/x-java-jnlp-file'),
		'ser'=>array('type'=>'Java Serialized Object','mime'=>'application/java-serialized-object'),
		'java'=>array('type'=>'Java Source File','mime'=>'text/x-java-source,java'),
		'js'=>array('type'=>'Javascript','mime'=>'application/javascript'),
		'json'=>array('type'=>'Javascript Object Notation (JSON)','mime'=>'application/json'),
		'joda'=>array('type'=>'Joda Archive','mime'=>'application/vnd.joost.joda-archive'),
		'jpm'=>array('type'=>'JPEG 2000 Compound Image File Format','mime'=>'video/jpm'),
		'jpeg'=>array('type'=>'JPEG Image','mime'=>'image/jpeg'),
		'jpg'=>array('type'=>'JPEG Image','mime'=>'image/jpeg'),
		'jpgv'=>array('type'=>'JPGVideo','mime'=>'video/jpeg'),
		'ktz'=>array('type'=>'Kahootz','mime'=>'application/vnd.kahootz'),
		'mmd'=>array('type'=>'Karaoke on Chipnuts Chipsets','mime'=>'application/vnd.chipnuts.karaoke-mmd'),
		'karbon'=>array('type'=>'KDE KOffice Office Suite - Karbon','mime'=>'application/vnd.kde.karbon'),
		'chrt'=>array('type'=>'KDE KOffice Office Suite - KChart','mime'=>'application/vnd.kde.kchart'),
		'kfo'=>array('type'=>'KDE KOffice Office Suite - Kformula','mime'=>'application/vnd.kde.kformula'),
		'flw'=>array('type'=>'KDE KOffice Office Suite - Kivio','mime'=>'application/vnd.kde.kivio'),
		'kon'=>array('type'=>'KDE KOffice Office Suite - Kontour','mime'=>'application/vnd.kde.kontour'),
		'kpr'=>array('type'=>'KDE KOffice Office Suite - Kpresenter','mime'=>'application/vnd.kde.kpresenter'),
		'ksp'=>array('type'=>'KDE KOffice Office Suite - Kspread','mime'=>'application/vnd.kde.kspread'),
		'kwd'=>array('type'=>'KDE KOffice Office Suite - Kword','mime'=>'application/vnd.kde.kword'),
		'htke'=>array('type'=>'Kenamea App','mime'=>'application/vnd.kenameaapp'),
		'kia'=>array('type'=>'Kidspiration','mime'=>'application/vnd.kidspiration'),
		'kne'=>array('type'=>'Kinar Applications','mime'=>'application/vnd.kinar'),
		'sse'=>array('type'=>'Kodak Storyshare','mime'=>'application/vnd.kodak-descriptor'),
		'lasxml'=>array('type'=>'Laser App Enterprise','mime'=>'application/vnd.las.las+xml'),
		'latex'=>array('type'=>'LaTeX','mime'=>'application/x-latex'),
		'lbd'=>array('type'=>'Life Balance - Desktop Edition','mime'=>'application/vnd.llamagraphics.life-balance.desktop'),
		'lbe'=>array('type'=>'Life Balance - Exchange Format','mime'=>'application/vnd.llamagraphics.life-balance.exchange+xml'),
		'jam'=>array('type'=>'Lightspeed Audio Lab','mime'=>'application/vnd.jam'),
		'123'=>array('type'=>'Lotus 1-2-3','mime'=>'application/vnd.lotus-1-2-3'),
		'apr'=>array('type'=>'Lotus Approach','mime'=>'application/vnd.lotus-approach'),
		'pre'=>array('type'=>'Lotus Freelance','mime'=>'application/vnd.lotus-freelance'),
		'nsf'=>array('type'=>'Lotus Notes','mime'=>'application/vnd.lotus-notes'),
		'org'=>array('type'=>'Lotus Organizer','mime'=>'application/vnd.lotus-organizer'),
		'scm'=>array('type'=>'Lotus Screencam','mime'=>'application/vnd.lotus-screencam'),
		'lwp'=>array('type'=>'Lotus Wordpro','mime'=>'application/vnd.lotus-wordpro'),
		'lvp'=>array('type'=>'Lucent Voice','mime'=>'audio/vnd.lucent.voice'),
		'm3u'=>array('type'=>'M3U (Multimedia Playlist)','mime'=>'audio/x-mpegurl'),
		'm4v'=>array('type'=>'M4v','mime'=>'video/x-m4v'),
		'hqx'=>array('type'=>'Macintosh BinHex 4.0','mime'=>'application/mac-binhex40'),
		'portpkg'=>array('type'=>'MacPorts Port System','mime'=>'application/vnd.macports.portpkg'),
		'mgp'=>array('type'=>'MapGuide DBXML','mime'=>'application/vnd.osgeo.mapguide.package'),
		'mrc'=>array('type'=>'MARC Formats','mime'=>'application/marc'),
		'mrcx'=>array('type'=>'MARC21 XML Schema','mime'=>'application/marcxml+xml'),
		'mxf'=>array('type'=>'Material Exchange Format','mime'=>'application/mxf'),
		'nbp'=>array('type'=>'Mathematica Notebook Player','mime'=>'application/vnd.wolfram.player'),
		'ma'=>array('type'=>'Mathematica Notebooks','mime'=>'application/mathematica'),
		'mathml'=>array('type'=>'Mathematical Markup Language','mime'=>'application/mathml+xml'),
		'mbox'=>array('type'=>'Mbox database files','mime'=>'application/mbox'),
		'mc1'=>array('type'=>'MedCalc','mime'=>'application/vnd.medcalcdata'),
		'mscml'=>array('type'=>'Media Server Control Markup Language','mime'=>'application/mediaservercontrol+xml'),
		'cdkey'=>array('type'=>'MediaRemote','mime'=>'application/vnd.mediastation.cdkey'),
		'mwf'=>array('type'=>'Medical Waveform Encoding Format','mime'=>'application/vnd.mfer'),
		'mfm'=>array('type'=>'Melody Format for Mobile Platform','mime'=>'application/vnd.mfmp'),
		'msh'=>array('type'=>'Mesh Data Type','mime'=>'model/mesh'),
		'mads'=>array('type'=>'Metadata Authority  Description Schema','mime'=>'application/mads+xml'),
		'mets'=>array('type'=>'Metadata Encoding and Transmission Standard','mime'=>'application/mets+xml'),
		'mods'=>array('type'=>'Metadata Object Description Schema','mime'=>'application/mods+xml'),
		'meta4'=>array('type'=>'Metalink','mime'=>'application/metalink4+xml'),
		'potm'=>array('type'=>'Micosoft PowerPoint - Macro-Enabled Template File','mime'=>'application/vnd.ms-powerpoint.template.macroenabled.12'),
		'docm'=>array('type'=>'Micosoft Word - Macro-Enabled Document','mime'=>'application/vnd.ms-word.document.macroenabled.12'),
		'dotm'=>array('type'=>'Micosoft Word - Macro-Enabled Template','mime'=>'application/vnd.ms-word.template.macroenabled.12'),
		'mcd'=>array('type'=>'Micro CADAM Helix D+D','mime'=>'application/vnd.mcd'),
		'flo'=>array('type'=>'Micrografx','mime'=>'application/vnd.micrografx.flo'),
		'igx'=>array('type'=>'Micrografx iGrafx Professional','mime'=>'application/vnd.micrografx.igx'),
		'es3'=>array('type'=>'MICROSEC e-Szign','mime'=>'application/vnd.eszigno3+xml'),
		'mdb'=>array('type'=>'Microsoft Access','mime'=>'application/x-msaccess'),
		'asf'=>array('type'=>'Microsoft Advanced Systems Format (ASF)','mime'=>'video/x-ms-asf'),
		'exe'=>array('type'=>'Microsoft Application','mime'=>'application/x-msdownload'),
		'cil'=>array('type'=>'Microsoft Artgalry','mime'=>'application/vnd.ms-artgalry'),
		'cab'=>array('type'=>'Microsoft Cabinet File','mime'=>'application/vnd.ms-cab-compressed'),
		'ims'=>array('type'=>'Microsoft Class Server','mime'=>'application/vnd.ms-ims'),
		'application'=>array('type'=>'Microsoft ClickOnce','mime'=>'application/x-ms-application'),
		'clp'=>array('type'=>'Microsoft Clipboard Clip','mime'=>'application/x-msclip'),
		'mdi'=>array('type'=>'Microsoft Document Imaging Format','mime'=>'image/vnd.ms-modi'),
		'eot'=>array('type'=>'Microsoft Embedded OpenType','mime'=>'application/vnd.ms-fontobject'),
		'xls'=>array('type'=>'Microsoft Excel','mime'=>'application/vnd.ms-excel'),
		'xlam'=>array('type'=>'Microsoft Excel - Add-In File','mime'=>'application/vnd.ms-excel.addin.macroenabled.12'),
		'xlsb'=>array('type'=>'Microsoft Excel - Binary Workbook','mime'=>'application/vnd.ms-excel.sheet.binary.macroenabled.12'),
		'xltm'=>array('type'=>'Microsoft Excel - Macro-Enabled Template File','mime'=>'application/vnd.ms-excel.template.macroenabled.12'),
		'xlsm'=>array('type'=>'Microsoft Excel - Macro-Enabled Workbook','mime'=>'application/vnd.ms-excel.sheet.macroenabled.12'),
		'chm'=>array('type'=>'Microsoft Html Help File','mime'=>'application/vnd.ms-htmlhelp'),
		'crd'=>array('type'=>'Microsoft Information Card','mime'=>'application/x-mscardfile'),
		'lrm'=>array('type'=>'Microsoft Learning Resource Module','mime'=>'application/vnd.ms-lrm'),
		'mvb'=>array('type'=>'Microsoft MediaView','mime'=>'application/x-msmediaview'),
		'mny'=>array('type'=>'Microsoft Money','mime'=>'application/x-msmoney'),
		'pptx'=>array('type'=>'Microsoft Office - OOXML - Presentation','mime'=>'application/vnd.openxmlformats-officedocument.presentationml.presentation'),
		'sldx'=>array('type'=>'Microsoft Office - OOXML - Presentation (Slide)','mime'=>'application/vnd.openxmlformats-officedocument.presentationml.slide'),
		'ppsx'=>array('type'=>'Microsoft Office - OOXML - Presentation (Slideshow)','mime'=>'application/vnd.openxmlformats-officedocument.presentationml.slideshow'),
		'potx'=>array('type'=>'Microsoft Office - OOXML - Presentation Template','mime'=>'application/vnd.openxmlformats-officedocument.presentationml.template'),
		'xlsx'=>array('type'=>'Microsoft Office - OOXML - Spreadsheet','mime'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'),
		'xltx'=>array('type'=>'Microsoft Office - OOXML - Spreadsheet Teplate','mime'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.template'),
		'docx'=>array('type'=>'Microsoft Office - OOXML - Word Document','mime'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document'),
		'dotx'=>array('type'=>'Microsoft Office - OOXML - Word Document Template','mime'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.template'),
		'obd'=>array('type'=>'Microsoft Office Binder','mime'=>'application/x-msbinder'),
		'thmx'=>array('type'=>'Microsoft Office System Release Theme','mime'=>'application/vnd.ms-officetheme'),
		'onetoc'=>array('type'=>'Microsoft OneNote','mime'=>'application/onenote'),
		'pya'=>array('type'=>'Microsoft PlayReady Ecosystem','mime'=>'audio/vnd.ms-playready.media.pya'),
		'pyv'=>array('type'=>'Microsoft PlayReady Ecosystem Video','mime'=>'video/vnd.ms-playready.media.pyv'),
		'ppt'=>array('type'=>'Microsoft PowerPoint','mime'=>'application/vnd.ms-powerpoint'),
		'ppam'=>array('type'=>'Microsoft PowerPoint - Add-in file','mime'=>'application/vnd.ms-powerpoint.addin.macroenabled.12'),
		'sldm'=>array('type'=>'Microsoft PowerPoint - Macro-Enabled Open XML Slide','mime'=>'application/vnd.ms-powerpoint.slide.macroenabled.12'),
		'pptm'=>array('type'=>'Microsoft PowerPoint - Macro-Enabled Presentation File','mime'=>'application/vnd.ms-powerpoint.presentation.macroenabled.12'),
		'ppsm'=>array('type'=>'Microsoft PowerPoint - Macro-Enabled Slide Show File','mime'=>'application/vnd.ms-powerpoint.slideshow.macroenabled.12'),
		'mpp'=>array('type'=>'Microsoft Project','mime'=>'application/vnd.ms-project'),
		'pub'=>array('type'=>'Microsoft Publisher','mime'=>'application/x-mspublisher'),
		'scd'=>array('type'=>'Microsoft Schedule+','mime'=>'application/x-msschedule'),
		'xap'=>array('type'=>'Microsoft Silverlight','mime'=>'application/x-silverlight-app'),
		'stl'=>array('type'=>'Microsoft Trust UI Provider - Certificate Trust Link','mime'=>'application/vnd.ms-pki.stl'),
		'cat'=>array('type'=>'Microsoft Trust UI Provider - Security Catalog','mime'=>'application/vnd.ms-pki.seccat'),
		'vsd'=>array('type'=>'Microsoft Visio','mime'=>'application/vnd.visio'),
		'wm'=>array('type'=>'Microsoft Windows Media','mime'=>'video/x-ms-wm'),
		'wma'=>array('type'=>'Microsoft Windows Media Audio','mime'=>'audio/x-ms-wma'),
		'wax'=>array('type'=>'Microsoft Windows Media Audio Redirector','mime'=>'audio/x-ms-wax'),
		'wmx'=>array('type'=>'Microsoft Windows Media Audio/Video Playlist','mime'=>'video/x-ms-wmx'),
		'wmd'=>array('type'=>'Microsoft Windows Media Player Download Package','mime'=>'application/x-ms-wmd'),
		'wpl'=>array('type'=>'Microsoft Windows Media Player Playlist','mime'=>'application/vnd.ms-wpl'),
		'wmz'=>array('type'=>'Microsoft Windows Media Player Skin Package','mime'=>'application/x-ms-wmz'),
		'wmv'=>array('type'=>'Microsoft Windows Media Video','mime'=>'video/x-ms-wmv'),
		'wvx'=>array('type'=>'Microsoft Windows Media Video Playlist','mime'=>'video/x-ms-wvx'),
		'wmf'=>array('type'=>'Microsoft Windows Metafile','mime'=>'application/x-msmetafile'),
		'trm'=>array('type'=>'Microsoft Windows Terminal Services','mime'=>'application/x-msterminal'),
		'doc'=>array('type'=>'Microsoft Word','mime'=>'application/msword'),
		'wri'=>array('type'=>'Microsoft Wordpad','mime'=>'application/x-mswrite'),
		'wps'=>array('type'=>'Microsoft Works','mime'=>'application/vnd.ms-works'),
		'xbap'=>array('type'=>'Microsoft XAML Browser Application','mime'=>'application/x-ms-xbap'),
		'xps'=>array('type'=>'Microsoft XML Paper Specification','mime'=>'application/vnd.ms-xpsdocument'),
		'mid'=>array('type'=>'MIDI - Musical Instrument Digital Interface','mime'=>'audio/midi'),
		'mpy'=>array('type'=>'MiniPay','mime'=>'application/vnd.ibm.minipay'),
		'afp'=>array('type'=>'MO:DCA-P','mime'=>'application/vnd.ibm.modcap'),
		'rms'=>array('type'=>'Mobile Information Device Profile','mime'=>'application/vnd.jcp.javame.midlet-rms'),
		'tmo'=>array('type'=>'MobileTV','mime'=>'application/vnd.tmobile-livetv'),
		'prc'=>array('type'=>'Mobipocket','mime'=>'application/x-mobipocket-ebook'),
		'mbk'=>array('type'=>'Mobius Management Systems - Basket file','mime'=>'application/vnd.mobius.mbk'),
		'dis'=>array('type'=>'Mobius Management Systems - Distribution Database','mime'=>'application/vnd.mobius.dis'),
		'plc'=>array('type'=>'Mobius Management Systems - Policy Definition Language File','mime'=>'application/vnd.mobius.plc'),
		'mqy'=>array('type'=>'Mobius Management Systems - Query File','mime'=>'application/vnd.mobius.mqy'),
		'msl'=>array('type'=>'Mobius Management Systems - Script Language','mime'=>'application/vnd.mobius.msl'),
		'txf'=>array('type'=>'Mobius Management Systems - Topic Index File','mime'=>'application/vnd.mobius.txf'),
		'daf'=>array('type'=>'Mobius Management Systems - UniversalArchive','mime'=>'application/vnd.mobius.daf'),
		'fly'=>array('type'=>'mod_fly / fly.cgi','mime'=>'text/vnd.fly'),
		'mpc'=>array('type'=>'Mophun Certificate','mime'=>'application/vnd.mophun.certificate'),
		'mpn'=>array('type'=>'Mophun VM','mime'=>'application/vnd.mophun.application'),
		'mj2'=>array('type'=>'Motion JPEG 2000','mime'=>'video/mj2'),
		'mpga'=>array('type'=>'MPEG Audio','mime'=>'audio/mpeg'),
		'mxu'=>array('type'=>'MPEG Url','mime'=>'video/vnd.mpegurl'),
		'mpeg'=>array('type'=>'MPEG Video','mime'=>'video/mpeg'),
		'm21'=>array('type'=>'MPEG-21','mime'=>'application/mp21'),
		'mp4a'=>array('type'=>'MPEG-4 Audio','mime'=>'audio/mp4'),
		'mp4'=>array('type'=>'MPEG-4 Video','mime'=>'video/mp4'),
		'mp4'=>array('type'=>'MPEG4','mime'=>'application/mp4'),
		'm3u8'=>array('type'=>'Multimedia Playlist Unicode','mime'=>'application/vnd.apple.mpegurl'),
		'mus'=>array('type'=>'MUsical Score Interpreted Code Invented  for the ASCII designation of Notation','mime'=>'application/vnd.musician'),
		'msty'=>array('type'=>'Muvee Automatic Video Editing','mime'=>'application/vnd.muvee.style'),
		'mxml'=>array('type'=>'MXML','mime'=>'application/xv+xml'),
		'ngdat'=>array('type'=>'N-Gage Game Data','mime'=>'application/vnd.nokia.n-gage.data'),
		'n-gage'=>array('type'=>'N-Gage Game Installer','mime'=>'application/vnd.nokia.n-gage.symbian.install'),
		'ncx'=>array('type'=>'Navigation Control file for XML (for ePub)','mime'=>'application/x-dtbncx+xml'),
		'nc'=>array('type'=>'Network Common Data Form (NetCDF)','mime'=>'application/x-netcdf'),
		'nlu'=>array('type'=>'neuroLanguage','mime'=>'application/vnd.neurolanguage.nlu'),
		'dna'=>array('type'=>'New Moon Liftoff/DNA','mime'=>'application/vnd.dna'),
		'nnd'=>array('type'=>'NobleNet Directory','mime'=>'application/vnd.noblenet-directory'),
		'nns'=>array('type'=>'NobleNet Sealer','mime'=>'application/vnd.noblenet-sealer'),
		'nnw'=>array('type'=>'NobleNet Web','mime'=>'application/vnd.noblenet-web'),
		'rpst'=>array('type'=>'Nokia Radio Application - Preset','mime'=>'application/vnd.nokia.radio-preset'),
		'rpss'=>array('type'=>'Nokia Radio Application - Preset','mime'=>'application/vnd.nokia.radio-presets'),
		'n3'=>array('type'=>'Notation3','mime'=>'text/n3'),
		'edm'=>array('type'=>'Novadigm\'s RADIA and EDM products','mime'=>'application/vnd.novadigm.edm'),
		'edx'=>array('type'=>'Novadigm\'s RADIA and EDM products','mime'=>'application/vnd.novadigm.edx'),
		'ext'=>array('type'=>'Novadigm\'s RADIA and EDM products','mime'=>'application/vnd.novadigm.ext'),
		'gph'=>array('type'=>'NpGraphIt','mime'=>'application/vnd.flographit'),
		'ecelp4800'=>array('type'=>'Nuera ECELP 4800','mime'=>'audio/vnd.nuera.ecelp4800'),
		'ecelp7470'=>array('type'=>'Nuera ECELP 7470','mime'=>'audio/vnd.nuera.ecelp7470'),
		'ecelp9600'=>array('type'=>'Nuera ECELP 9600','mime'=>'audio/vnd.nuera.ecelp9600'),
		'oda'=>array('type'=>'Office Document Architecture','mime'=>'application/oda'),
		'ogx'=>array('type'=>'Ogg','mime'=>'application/ogg'),
		'oga'=>array('type'=>'Ogg Audio','mime'=>'audio/ogg'),
		'ogv'=>array('type'=>'Ogg Video','mime'=>'video/ogg'),
		'dd2'=>array('type'=>'OMA Download Agents','mime'=>'application/vnd.oma.dd2+xml'),
		'oth'=>array('type'=>'Open Document Text Web','mime'=>'application/vnd.oasis.opendocument.text-web'),
		'opf'=>array('type'=>'Open eBook Publication Structure','mime'=>'application/oebps-package+xml'),
		'qbo'=>array('type'=>'Open Financial Exchange','mime'=>'application/vnd.intu.qbo'),
		'oxt'=>array('type'=>'Open Office Extension','mime'=>'application/vnd.openofficeorg.extension'),
		'osf'=>array('type'=>'Open Score Format','mime'=>'application/vnd.yamaha.openscoreformat'),
		'weba'=>array('type'=>'Open Web Media Project - Audio','mime'=>'audio/webm'),
		'webm'=>array('type'=>'Open Web Media Project - Video','mime'=>'video/webm'),
		'odc'=>array('type'=>'OpenDocument Chart','mime'=>'application/vnd.oasis.opendocument.chart'),
		'otc'=>array('type'=>'OpenDocument Chart Template','mime'=>'application/vnd.oasis.opendocument.chart-template'),
		'odb'=>array('type'=>'OpenDocument Database','mime'=>'application/vnd.oasis.opendocument.database'),
		'odf'=>array('type'=>'OpenDocument Formula','mime'=>'application/vnd.oasis.opendocument.formula'),
		'odft'=>array('type'=>'OpenDocument Formula Template','mime'=>'application/vnd.oasis.opendocument.formula-template'),
		'odg'=>array('type'=>'OpenDocument Graphics','mime'=>'application/vnd.oasis.opendocument.graphics'),
		'otg'=>array('type'=>'OpenDocument Graphics Template','mime'=>'application/vnd.oasis.opendocument.graphics-template'),
		'odi'=>array('type'=>'OpenDocument Image','mime'=>'application/vnd.oasis.opendocument.image'),
		'oti'=>array('type'=>'OpenDocument Image Template','mime'=>'application/vnd.oasis.opendocument.image-template'),
		'odp'=>array('type'=>'OpenDocument Presentation','mime'=>'application/vnd.oasis.opendocument.presentation'),
		'otp'=>array('type'=>'OpenDocument Presentation Template','mime'=>'application/vnd.oasis.opendocument.presentation-template'),
		'ods'=>array('type'=>'OpenDocument Spreadsheet','mime'=>'application/vnd.oasis.opendocument.spreadsheet'),
		'ots'=>array('type'=>'OpenDocument Spreadsheet Template','mime'=>'application/vnd.oasis.opendocument.spreadsheet-template'),
		'odt'=>array('type'=>'OpenDocument Text','mime'=>'application/vnd.oasis.opendocument.text'),
		'odm'=>array('type'=>'OpenDocument Text Master','mime'=>'application/vnd.oasis.opendocument.text-master'),
		'ott'=>array('type'=>'OpenDocument Text Template','mime'=>'application/vnd.oasis.opendocument.text-template'),
		'ktx'=>array('type'=>'OpenGL Textures (KTX)','mime'=>'image/ktx'),
		'sxc'=>array('type'=>'OpenOffice - Calc (Spreadsheet)','mime'=>'application/vnd.sun.xml.calc'),
		'stc'=>array('type'=>'OpenOffice - Calc Template (Spreadsheet)','mime'=>'application/vnd.sun.xml.calc.template'),
		'sxd'=>array('type'=>'OpenOffice - Draw (Graphics)','mime'=>'application/vnd.sun.xml.draw'),
		'std'=>array('type'=>'OpenOffice - Draw Template (Graphics)','mime'=>'application/vnd.sun.xml.draw.template'),
		'sxi'=>array('type'=>'OpenOffice - Impress (Presentation)','mime'=>'application/vnd.sun.xml.impress'),
		'sti'=>array('type'=>'OpenOffice - Impress Template (Presentation)','mime'=>'application/vnd.sun.xml.impress.template'),
		'sxm'=>array('type'=>'OpenOffice - Math (Formula)','mime'=>'application/vnd.sun.xml.math'),
		'sxw'=>array('type'=>'OpenOffice - Writer (Text - HTML)','mime'=>'application/vnd.sun.xml.writer'),
		'sxg'=>array('type'=>'OpenOffice - Writer (Text - HTML)','mime'=>'application/vnd.sun.xml.writer.global'),
		'stw'=>array('type'=>'OpenOffice - Writer Template (Text - HTML)','mime'=>'application/vnd.sun.xml.writer.template'),
		'otf'=>array('type'=>'OpenType Font File','mime'=>'application/x-font-otf'),
		'osfpvg'=>array('type'=>'OSFPVG','mime'=>'application/vnd.yamaha.openscoreformat.osfpvg+xml'),
		'dp'=>array('type'=>'OSGi Deployment Package','mime'=>'application/vnd.osgi.dp'),
		'pdb'=>array('type'=>'PalmOS Data','mime'=>'application/vnd.palm'),
		'p'=>array('type'=>'Pascal Source File','mime'=>'text/x-pascal'),
		'paw'=>array('type'=>'PawaaFILE','mime'=>'application/vnd.pawaafile'),
		'pclxl'=>array('type'=>'PCL 6 Enhanced (Formely PCL XL)','mime'=>'application/vnd.hp-pclxl'),
		'efif'=>array('type'=>'Pcsel eFIF File','mime'=>'application/vnd.picsel'),
		'pcx'=>array('type'=>'PCX Image','mime'=>'image/x-pcx'),
		'psd'=>array('type'=>'Photoshop Document','mime'=>'image/vnd.adobe.photoshop'),
		'prf'=>array('type'=>'PICSRules','mime'=>'application/pics-rules'),
		'pic'=>array('type'=>'PICT Image','mime'=>'image/x-pict'),
		'chat'=>array('type'=>'pIRCh','mime'=>'application/x-chat'),
		'p10'=>array('type'=>'PKCS #10 - Certification Request Standard','mime'=>'application/pkcs10'),
		'p12'=>array('type'=>'PKCS #12 - Personal Information Exchange Syntax Standard','mime'=>'application/x-pkcs12'),
		'p7m'=>array('type'=>'PKCS #7 - Cryptographic Message Syntax Standard','mime'=>'application/pkcs7-mime'),
		'p7s'=>array('type'=>'PKCS #7 - Cryptographic Message Syntax Standard','mime'=>'application/pkcs7-signature'),
		'p7r'=>array('type'=>'PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)','mime'=>'application/x-pkcs7-certreqresp'),
		'p7b'=>array('type'=>'PKCS #7 - Cryptographic Message Syntax Standard (Certificates)','mime'=>'application/x-pkcs7-certificates'),
		'p8'=>array('type'=>'PKCS #8 - Private-Key Information Syntax Standard','mime'=>'application/pkcs8'),
		'plf'=>array('type'=>'PocketLearn Viewers','mime'=>'application/vnd.pocketlearn'),
		'pnm'=>array('type'=>'Portable Anymap Image','mime'=>'image/x-portable-anymap'),
		'pbm'=>array('type'=>'Portable Bitmap Format','mime'=>'image/x-portable-bitmap'),
		'pcf'=>array('type'=>'Portable Compiled Format','mime'=>'application/x-font-pcf'),
		'pfr'=>array('type'=>'Portable Font Resource','mime'=>'application/font-tdpfr'),
		'pgn'=>array('type'=>'Portable Game Notation (Chess Games)','mime'=>'application/x-chess-pgn'),
		'pgm'=>array('type'=>'Portable Graymap Format','mime'=>'image/x-portable-graymap'),
		'png'=>array('type'=>'Portable Network Graphics (PNG)','mime'=>'image/png'),
		'ppm'=>array('type'=>'Portable Pixmap Format','mime'=>'image/x-portable-pixmap'),
		'pskcxml'=>array('type'=>'Portable Symmetric Key Container','mime'=>'application/pskc+xml'),
		'pml'=>array('type'=>'PosML','mime'=>'application/vnd.ctc-posml'),
		'ai'=>array('type'=>'PostScript','mime'=>'application/postscript'),
		'pfa'=>array('type'=>'PostScript Fonts','mime'=>'application/x-font-type1'),
		'pbd'=>array('type'=>'PowerBuilder','mime'=>'application/vnd.powerbuilder6'),
		'pgp'=>array('type'=>'Pretty Good Privacy - Signature','mime'=>'application/pgp-signature'),
		'box'=>array('type'=>'Preview Systems ZipLock/VBox','mime'=>'application/vnd.previewsystems.box'),
		'ptid'=>array('type'=>'Princeton Video Image','mime'=>'application/vnd.pvi.ptid1'),
		'pls'=>array('type'=>'Pronunciation Lexicon Specification','mime'=>'application/pls+xml'),
		'str'=>array('type'=>'Proprietary P+G Standard Reporting System','mime'=>'application/vnd.pg.format'),
		'ei6'=>array('type'=>'Proprietary P+G Standard Reporting System','mime'=>'application/vnd.pg.osasli'),
		'dsc'=>array('type'=>'PRS Lines Tag','mime'=>'text/prs.lines.tag'),
		'psf'=>array('type'=>'PSF Fonts','mime'=>'application/x-font-linux-psf'),
		'qps'=>array('type'=>'PubliShare Objects','mime'=>'application/vnd.publishare-delta-tree'),
		'wg'=>array('type'=>'Qualcomm\'s Plaza Mobile Internet','mime'=>'application/vnd.pmi.widget'),
		'qxd'=>array('type'=>'QuarkXpress','mime'=>'application/vnd.quark.quarkxpress'),
		'esf'=>array('type'=>'QUASS Stream Player','mime'=>'application/vnd.epson.esf'),
		'msf'=>array('type'=>'QUASS Stream Player','mime'=>'application/vnd.epson.msf'),
		'ssf'=>array('type'=>'QUASS Stream Player','mime'=>'application/vnd.epson.ssf'),
		'qam'=>array('type'=>'QuickAnime Player','mime'=>'application/vnd.epson.quickanime'),
		'qfx'=>array('type'=>'Quicken','mime'=>'application/vnd.intu.qfx'),
		'qt'=>array('type'=>'Quicktime Video','mime'=>'video/quicktime'),
		'rar'=>array('type'=>'RAR Archive','mime'=>'application/x-rar-compressed'),
		'ram'=>array('type'=>'Real Audio Sound','mime'=>'audio/x-pn-realaudio'),
		'rmp'=>array('type'=>'Real Audio Sound','mime'=>'audio/x-pn-realaudio-plugin'),
		'rsd'=>array('type'=>'Really Simple Discovery','mime'=>'application/rsd+xml'),
		'rm'=>array('type'=>'RealMedia','mime'=>'application/vnd.rn-realmedia'),
		'bed'=>array('type'=>'RealVNC','mime'=>'application/vnd.realvnc.bed'),
		'mxl'=>array('type'=>'Recordare Applications','mime'=>'application/vnd.recordare.musicxml'),
		'musicxml'=>array('type'=>'Recordare Applications','mime'=>'application/vnd.recordare.musicxml+xml'),
		'rnc'=>array('type'=>'Relax NG Compact Syntax','mime'=>'application/relax-ng-compact-syntax'),
		'rdz'=>array('type'=>'RemoteDocs R-Viewer','mime'=>'application/vnd.data-vision.rdz'),
		'rdf'=>array('type'=>'Resource Description Framework','mime'=>'application/rdf+xml'),
		'rp9'=>array('type'=>'RetroPlatform Player','mime'=>'application/vnd.cloanto.rp9'),
		'jisp'=>array('type'=>'RhymBox','mime'=>'application/vnd.jisp'),
		'rtf'=>array('type'=>'Rich Text Format','mime'=>'application/rtf'),
		'rtx'=>array('type'=>'Rich Text Format (RTF)','mime'=>'text/richtext'),
		'link66'=>array('type'=>'ROUTE 66 Location Based Services','mime'=>'application/vnd.route66.link66+xml'),
		'rss'=>array('type'=>'RSS - Really Simple Syndication','mime'=>'application/rss+xml'),
		'xml'=>array('type'=>'RSS - Really Simple Syndication','mime'=>'application/rss+xml'),
		'shf'=>array('type'=>'S Hexdump Format','mime'=>'application/shf+xml'),
		'st'=>array('type'=>'SailingTracker','mime'=>'application/vnd.sailingtracker.track'),
		'svg'=>array('type'=>'Scalable Vector Graphics (SVG)','mime'=>'image/svg+xml'),
		'sus'=>array('type'=>'ScheduleUs','mime'=>'application/vnd.sus-calendar'),
		'sru'=>array('type'=>'Search/Retrieve via URL Response Format','mime'=>'application/sru+xml'),
		'setpay'=>array('type'=>'Secure Electronic Transaction - Payment','mime'=>'application/set-payment-initiation'),
		'setreg'=>array('type'=>'Secure Electronic Transaction - Registration','mime'=>'application/set-registration-initiation'),
		'sema'=>array('type'=>'Secured eMail','mime'=>'application/vnd.sema'),
		'semd'=>array('type'=>'Secured eMail','mime'=>'application/vnd.semd'),
		'semf'=>array('type'=>'Secured eMail','mime'=>'application/vnd.semf'),
		'see'=>array('type'=>'SeeMail','mime'=>'application/vnd.seemail'),
		'snf'=>array('type'=>'Server Normal Format','mime'=>'application/x-font-snf'),
		'spq'=>array('type'=>'Server-Based Certificate Validation Protocol - Validation Policies - Request','mime'=>'application/scvp-vp-request'),
		'spp'=>array('type'=>'Server-Based Certificate Validation Protocol - Validation Policies - Response','mime'=>'application/scvp-vp-response'),
		'scq'=>array('type'=>'Server-Based Certificate Validation Protocol - Validation Request','mime'=>'application/scvp-cv-request'),
		'scs'=>array('type'=>'Server-Based Certificate Validation Protocol - Validation Response','mime'=>'application/scvp-cv-response'),
		'sdp'=>array('type'=>'Session Description Protocol','mime'=>'application/sdp'),
		'etx'=>array('type'=>'Setext','mime'=>'text/x-setext'),
		'movie'=>array('type'=>'SGI Movie','mime'=>'video/x-sgi-movie'),
		'ifm'=>array('type'=>'Shana Informed Filler','mime'=>'application/vnd.shana.informed.formdata'),
		'itp'=>array('type'=>'Shana Informed Filler','mime'=>'application/vnd.shana.informed.formtemplate'),
		'iif'=>array('type'=>'Shana Informed Filler','mime'=>'application/vnd.shana.informed.interchange'),
		'ipk'=>array('type'=>'Shana Informed Filler','mime'=>'application/vnd.shana.informed.package'),
		'tfi'=>array('type'=>'Sharing Transaction Fraud Data','mime'=>'application/thraud+xml'),
		'shar'=>array('type'=>'Shell Archive','mime'=>'application/x-shar'),
		'rgb'=>array('type'=>'Silicon Graphics RGB Bitmap','mime'=>'image/x-rgb'),
		'slt'=>array('type'=>'SimpleAnimeLite Player','mime'=>'application/vnd.epson.salt'),
		'aso'=>array('type'=>'Simply Accounting','mime'=>'application/vnd.accpac.simply.aso'),
		'imp'=>array('type'=>'Simply Accounting - Data Import','mime'=>'application/vnd.accpac.simply.imp'),
		'twd'=>array('type'=>'SimTech MindMapper','mime'=>'application/vnd.simtech-mindmapper'),
		'csp'=>array('type'=>'Sixth Floor Media - CommonSpace','mime'=>'application/vnd.commonspace'),
		'saf'=>array('type'=>'SMAF Audio','mime'=>'application/vnd.yamaha.smaf-audio'),
		'mmf'=>array('type'=>'SMAF File','mime'=>'application/vnd.smaf'),
		'spf'=>array('type'=>'SMAF Phrase','mime'=>'application/vnd.yamaha.smaf-phrase'),
		'teacher'=>array('type'=>'SMART Technologies Apps','mime'=>'application/vnd.smart.teacher'),
		'svd'=>array('type'=>'SourceView Document','mime'=>'application/vnd.svd'),
		'rq'=>array('type'=>'SPARQL - Query','mime'=>'application/sparql-query'),
		'srx'=>array('type'=>'SPARQL - Results','mime'=>'application/sparql-results+xml'),
		'gram'=>array('type'=>'Speech Recognition Grammar Specification','mime'=>'application/srgs'),
		'grxml'=>array('type'=>'Speech Recognition Grammar Specification - XML','mime'=>'application/srgs+xml'),
		'ssml'=>array('type'=>'Speech Synthesis Markup Language','mime'=>'application/ssml+xml'),
		'skp'=>array('type'=>'SSEYO Koan Play File','mime'=>'application/vnd.koan'),
		'sgml'=>array('type'=>'Standard Generalized Markup Language (SGML)','mime'=>'text/sgml'),
		'sdc'=>array('type'=>'StarOffice - Calc','mime'=>'application/vnd.stardivision.calc'),
		'sda'=>array('type'=>'StarOffice - Draw','mime'=>'application/vnd.stardivision.draw'),
		'sdd'=>array('type'=>'StarOffice - Impress','mime'=>'application/vnd.stardivision.impress'),
		'smf'=>array('type'=>'StarOffice - Math','mime'=>'application/vnd.stardivision.math'),
		'sdw'=>array('type'=>'StarOffice - Writer','mime'=>'application/vnd.stardivision.writer'),
		'sgl'=>array('type'=>'StarOffice - Writer  (Global)','mime'=>'application/vnd.stardivision.writer-global'),
		'sm'=>array('type'=>'StepMania','mime'=>'application/vnd.stepmania.stepchart'),
		'sit'=>array('type'=>'Stuffit Archive','mime'=>'application/x-stuffit'),
		'sitx'=>array('type'=>'Stuffit Archive','mime'=>'application/x-stuffitx'),
		'sdkm'=>array('type'=>'SudokuMagic','mime'=>'application/vnd.solent.sdkm+xml'),
		'xo'=>array('type'=>'Sugar Linux Application Bundle','mime'=>'application/vnd.olpc-sugar'),
		'au'=>array('type'=>'Sun Audio - Au file format','mime'=>'audio/basic'),
		'wqd'=>array('type'=>'SundaHus WQ','mime'=>'application/vnd.wqd'),
		'sis'=>array('type'=>'Symbian Install Package','mime'=>'application/vnd.symbian.install'),
		'smi'=>array('type'=>'Synchronized Multimedia Integration Language','mime'=>'application/smil+xml'),
		'xsm'=>array('type'=>'SyncML','mime'=>'application/vnd.syncml+xml'),
		'bdm'=>array('type'=>'SyncML - Device Management','mime'=>'application/vnd.syncml.dm+wbxml'),
		'xdm'=>array('type'=>'SyncML - Device Management','mime'=>'application/vnd.syncml.dm+xml'),
		'sv4cpio'=>array('type'=>'System V Release 4 CPIO Archive','mime'=>'application/x-sv4cpio'),
		'sv4crc'=>array('type'=>'System V Release 4 CPIO Checksum Data','mime'=>'application/x-sv4crc'),
		'sbml'=>array('type'=>'Systems Biology Markup Language','mime'=>'application/sbml+xml'),
		'tsv'=>array('type'=>'Tab Seperated Values','mime'=>'text/tab-separated-values'),
		'tiff'=>array('type'=>'Tagged Image File Format','mime'=>'image/tiff'),
		'tao'=>array('type'=>'Tao Intent','mime'=>'application/vnd.tao.intent-module-archive'),
		'tar'=>array('type'=>'Tar File (Tape Archive)','mime'=>'application/x-tar'),
		'tcl'=>array('type'=>'Tcl Script','mime'=>'application/x-tcl'),
		'tex'=>array('type'=>'TeX','mime'=>'application/x-tex'),
		'tfm'=>array('type'=>'TeX Font Metric','mime'=>'application/x-tex-tfm'),
		'tei'=>array('type'=>'Text Encoding and Interchange','mime'=>'application/tei+xml'),
		'txt'=>array('type'=>'Text File','mime'=>'text/plain'),
		'dxp'=>array('type'=>'TIBCO Spotfire','mime'=>'application/vnd.spotfire.dxp'),
		'sfs'=>array('type'=>'TIBCO Spotfire','mime'=>'application/vnd.spotfire.sfs'),
		'tsd'=>array('type'=>'Time Stamped Data Envelope','mime'=>'application/timestamped-data'),
		'tpt'=>array('type'=>'TRI Systems Config','mime'=>'application/vnd.trid.tpt'),
		'mxs'=>array('type'=>'Triscape Map Explorer','mime'=>'application/vnd.triscape.mxs'),
		't'=>array('type'=>'troff','mime'=>'text/troff'),
		'tra'=>array('type'=>'True BASIC','mime'=>'application/vnd.trueapp'),
		'ttf'=>array('type'=>'TrueType Font','mime'=>'application/x-font-ttf'),
		'ttl'=>array('type'=>'Turtle (Terse RDF Triple Language)','mime'=>'text/turtle'),
		'umj'=>array('type'=>'UMAJIN','mime'=>'application/vnd.umajin'),
		'uoml'=>array('type'=>'Unique Object Markup Language','mime'=>'application/vnd.uoml+xml'),
		'unityweb'=>array('type'=>'Unity 3d','mime'=>'application/vnd.unity'),
		'ufd'=>array('type'=>'Universal Forms Description Language','mime'=>'application/vnd.ufdl'),
		'uri'=>array('type'=>'URI Resolution Services','mime'=>'text/uri-list'),
		'utz'=>array('type'=>'User Interface Quartz - Theme (Symbian)','mime'=>'application/vnd.uiq.theme'),
		'ustar'=>array('type'=>'Ustar (Uniform Standard Tape Archive)','mime'=>'application/x-ustar'),
		'uu'=>array('type'=>'UUEncode','mime'=>'text/x-uuencode'),
		'vcs'=>array('type'=>'vCalendar','mime'=>'text/x-vcalendar'),
		'vcf'=>array('type'=>'vCard','mime'=>'text/x-vcard'),
		'vcd'=>array('type'=>'Video CD','mime'=>'application/x-cdlink'),
		'vsf'=>array('type'=>'Viewport+','mime'=>'application/vnd.vsf'),
		'wrl'=>array('type'=>'Virtual Reality Modeling Language','mime'=>'model/vrml'),
		'vcx'=>array('type'=>'VirtualCatalog','mime'=>'application/vnd.vcx'),
		'mts'=>array('type'=>'Virtue MTS','mime'=>'model/vnd.mts'),
		'vtu'=>array('type'=>'Virtue VTU','mime'=>'model/vnd.vtu'),
		'vis'=>array('type'=>'Visionary','mime'=>'application/vnd.visionary'),
		'viv'=>array('type'=>'Vivo','mime'=>'video/vnd.vivo'),
		'ccxml'=>array('type'=>'Voice Browser Call Control','mime'=>'application/ccxml+xml'),
		'vxml'=>array('type'=>'VoiceXML','mime'=>'application/voicexml+xml'),
		'src'=>array('type'=>'WAIS Source','mime'=>'application/x-wais-source'),
		'wbxml'=>array('type'=>'WAP Binary XML (WBXML)','mime'=>'application/vnd.wap.wbxml'),
		'wbmp'=>array('type'=>'WAP Bitamp (WBMP)','mime'=>'image/vnd.wap.wbmp'),
		'wav'=>array('type'=>'Waveform Audio File Format (WAV)','mime'=>'audio/x-wav'),
		'davmount'=>array('type'=>'Web Distributed Authoring and Versioning','mime'=>'application/davmount+xml'),
		'woff'=>array('type'=>'Web Open Font Format','mime'=>'application/x-font-woff'),
		'wspolicy'=>array('type'=>'Web Services Policy','mime'=>'application/wspolicy+xml'),
		'webp'=>array('type'=>'WebP Image','mime'=>'image/webp'),
		'wtb'=>array('type'=>'WebTurbo','mime'=>'application/vnd.webturbo'),
		'wgt'=>array('type'=>'Widget Packaging and XML Configuration','mime'=>'application/widget'),
		'hlp'=>array('type'=>'WinHelp','mime'=>'application/winhlp'),
		'wml'=>array('type'=>'Wireless Markup Language (WML)','mime'=>'text/vnd.wap.wml'),
		'wmls'=>array('type'=>'Wireless Markup Language Script (WMLScript)','mime'=>'text/vnd.wap.wmlscript'),
		'wmlsc'=>array('type'=>'WMLScript','mime'=>'application/vnd.wap.wmlscriptc'),
		'wpd'=>array('type'=>'Wordperfect','mime'=>'application/vnd.wordperfect'),
		'stf'=>array('type'=>'Worldtalk','mime'=>'application/vnd.wt.stf'),
		'wsdl'=>array('type'=>'WSDL - Web Services Description Language','mime'=>'application/wsdl+xml'),
		'xbm'=>array('type'=>'X BitMap','mime'=>'image/x-xbitmap'),
		'xpm'=>array('type'=>'X PixMap','mime'=>'image/x-xpixmap'),
		'xwd'=>array('type'=>'X Window Dump','mime'=>'image/x-xwindowdump'),
		'der'=>array('type'=>'X.509 Certificate','mime'=>'application/x-x509-ca-cert'),
		'fig'=>array('type'=>'Xfig','mime'=>'application/x-xfig'),
		'xhtml'=>array('type'=>'XHTML - The Extensible HyperText Markup Language','mime'=>'application/xhtml+xml'),
		'xml'=>array('type'=>'XML - Extensible Markup Language','mime'=>'application/xml'),
		'xdf'=>array('type'=>'XML Configuration Access Protocol - XCAP Diff','mime'=>'application/xcap-diff+xml'),
		'xenc'=>array('type'=>'XML Encryption Syntax and Processing','mime'=>'application/xenc+xml'),
		'xer'=>array('type'=>'XML Patch Framework','mime'=>'application/patch-ops-error+xml'),
		'rl'=>array('type'=>'XML Resource Lists','mime'=>'application/resource-lists+xml'),
		'rs'=>array('type'=>'XML Resource Lists','mime'=>'application/rls-services+xml'),
		'rld'=>array('type'=>'XML Resource Lists Diff','mime'=>'application/resource-lists-diff+xml'),
		'xslt'=>array('type'=>'XML Transformations','mime'=>'application/xslt+xml'),
		'xop'=>array('type'=>'XML-Binary Optimized Packaging','mime'=>'application/xop+xml'),
		'xpi'=>array('type'=>'XPInstall - Mozilla','mime'=>'application/x-xpinstall'),
		'xspf'=>array('type'=>'XSPF - XML Shareable Playlist Format','mime'=>'application/xspf+xml'),
		'xul'=>array('type'=>'XUL - XML User Interface Language','mime'=>'application/vnd.mozilla.xul+xml'),
		'xyz'=>array('type'=>'XYZ File Format','mime'=>'chemical/x-xyz'),
		'yang'=>array('type'=>'YANG Data Modeling Language','mime'=>'application/yang'),
		'yin'=>array('type'=>'YIN (YANG - XML)','mime'=>'application/yin+xml'),
		'zir'=>array('type'=>'Z.U.L. Geometry','mime'=>'application/vnd.zul'),
		'zip'=>array('type'=>'Zip Archive','mime'=>'application/zip'),
		'zmm'=>array('type'=>'ZVUE Media Manager','mime'=>'application/vnd.handheld-entertainment+xml'),
		'zaz'=>array('type'=>'Zzazz Deck','mime'=>'application/vnd.zzazz.deck+xml')

	);
	
	$fe = explode('.',$file);
	return (is_array($extensions[$fe[1]])) ? $extensions[$fe[1]] : false;
}
?>

This post has been edited by VolcomMky: 13 September 2013 - 05:28 PM


Is This A Good Question/Topic? 1
  • +

Replies To: List of Extensions (MIME Type, Extension, and Description)

#2 CTphpnwb  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2896
  • View blog
  • Posts: 10,031
  • Joined: 08-August 08

Re: List of Extensions (MIME Type, Extension, and Description)

Posted 14 September 2013 - 04:39 AM

If you're sure this works well then you might want to submit it as a tutorial.

That would require more explanation of what you're doing.
Was This Post Helpful? 0
  • +
  • -

#3 VolcomMky  Icon User is offline

  • D.I.C Regular

Reputation: 74
  • View blog
  • Posts: 315
  • Joined: 13-May 09

Re: List of Extensions (MIME Type, Extension, and Description)

Posted 14 September 2013 - 12:15 PM

Okay, I can do that.

I tried to put it under "Snippets" but the page looked a little broken
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1