Skylar Ittner 1 year ago
commit
6365714c3d
7 changed files with 3061 additions and 0 deletions
  1. 11
    0
      LICENSE.md
  2. 19
    0
      README.md
  3. 2
    0
      htaccess
  4. 1258
    0
      index.php
  5. 768
    0
      mimetype_tools/mimetypes.csv
  6. 987
    0
      mimetype_tools/mimetypes.php
  7. 16
    0
      mimetype_tools/mimetypes2phparray.php

+ 11
- 0
LICENSE.md View File

@@ -0,0 +1,11 @@
1
+Copyright 2018 Netsyms Technologies
2
+
3
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 19
- 0
README.md View File

@@ -0,0 +1,19 @@
1
+# Nice Dirlist
2
+
3
+A single-file solution for pretty directory listings
4
+
5
+## Features:
6
+
7
+* Built-in file type guessing
8
+* FontAwesome icons
9
+* Responsive with Bootstrap 4.0
10
+* Support for adding mirror URLs
11
+
12
+## Installing
13
+
14
+* Upload `index.php` to the web root
15
+* Upload `htaccess` and rename to `.htaccess`
16
+    * For non-Apache, configure your server to serve /index.php for all subfolders
17
+* Edit the top of `index.php` to customize with your branding
18
+    * Edit the list of ignored filenames
19
+    * (Recommended) Change the CDN URLs for Bootstrap and FontAwesome to your CDN of choice

+ 2
- 0
htaccess View File

@@ -0,0 +1,2 @@
1
+# Rename to .htaccess on server
2
+DirectoryIndex index.php /index.php

+ 1258
- 0
index.php
File diff suppressed because it is too large
View File


+ 768
- 0
mimetype_tools/mimetypes.csv View File

@@ -0,0 +1,768 @@
1
+application/andrew-inset,ez
2
+application/applixware,aw
3
+application/atom+xml,atom
4
+application/atomcat+xml,atomcat
5
+application/atomsvc+xml,atomsvc
6
+application/ccxml+xml,ccxml
7
+application/cdmi-capability,cdmia
8
+application/cdmi-container,cdmic
9
+application/cdmi-domain,cdmid
10
+application/cdmi-object,cdmio
11
+application/cdmi-queue,cdmiq
12
+application/cu-seeme,cu
13
+application/davmount+xml,davmount
14
+application/docbook+xml,dbk
15
+application/dssc+der,dssc
16
+application/dssc+xml,xdssc
17
+application/ecmascript,ecma
18
+application/emma+xml,emma
19
+application/epub+zip,epub
20
+application/exi,exi
21
+application/font-tdpfr,pfr
22
+application/gml+xml,gml
23
+application/gpx+xml,gpx
24
+application/gxf,gxf
25
+application/hyperstudio,stk
26
+application/inkml+xml,ink,inkml
27
+application/ipfix,ipfix
28
+application/java-archive,jar
29
+application/java-serialized-object,ser
30
+application/java-vm,class
31
+application/javascript,js
32
+application/json,json
33
+application/jsonml+json,jsonml
34
+application/lost+xml,lostxml
35
+application/mac-binhex40,hqx
36
+application/mac-compactpro,cpt
37
+application/mads+xml,mads
38
+application/marc,mrc
39
+application/marcxml+xml,mrcx
40
+application/mathematica,ma,nb,mb
41
+application/mathml+xml,mathml
42
+application/mbox,mbox
43
+application/mediaservercontrol+xml,mscml
44
+application/metalink+xml,metalink
45
+application/metalink4+xml,meta4
46
+application/mets+xml,mets
47
+application/mods+xml,mods
48
+application/mp21,m21,mp21
49
+application/mp4,mp4s
50
+application/msword,doc,dot
51
+application/mxf,mxf
52
+application/octet-stream,bin,dms,lrf,mar,so,dist,distz,pkg,bpk,dump,elc,deploy
53
+application/oda,oda
54
+application/oebps-package+xml,opf
55
+application/ogg,ogx
56
+application/omdoc+xml,omdoc
57
+application/onenote,onetoc,onetoc2,onetmp,onepkg
58
+application/oxps,oxps
59
+application/patch-ops-error+xml,xer
60
+application/pdf,pdf
61
+application/pgp-encrypted,pgp
62
+application/pgp-signature,asc,sig
63
+application/pics-rules,prf
64
+application/pkcs10,p10
65
+application/pkcs7-mime,p7m,p7c
66
+application/pkcs7-signature,p7s
67
+application/pkcs8,p8
68
+application/pkix-attr-cert,ac
69
+application/pkix-cert,cer
70
+application/pkix-crl,crl
71
+application/pkix-pkipath,pkipath
72
+application/pkixcmp,pki
73
+application/pls+xml,pls
74
+application/postscript,ai,eps,ps
75
+application/prs.cww,cww
76
+application/pskc+xml,pskcxml
77
+application/rdf+xml,rdf
78
+application/reginfo+xml,rif
79
+application/relax-ng-compact-syntax,rnc
80
+application/resource-lists+xml,rl
81
+application/resource-lists-diff+xml,rld
82
+application/rls-services+xml,rs
83
+application/rpki-ghostbusters,gbr
84
+application/rpki-manifest,mft
85
+application/rpki-roa,roa
86
+application/rsd+xml,rsd
87
+application/rss+xml,rss
88
+application/rtf,rtf
89
+application/sbml+xml,sbml
90
+application/scvp-cv-request,scq
91
+application/scvp-cv-response,scs
92
+application/scvp-vp-request,spq
93
+application/scvp-vp-response,spp
94
+application/sdp,sdp
95
+application/set-payment-initiation,setpay
96
+application/set-registration-initiation,setreg
97
+application/shf+xml,shf
98
+application/smil+xml,smi,smil
99
+application/sparql-query,rq
100
+application/sparql-results+xml,srx
101
+application/srgs,gram
102
+application/srgs+xml,grxml
103
+application/sru+xml,sru
104
+application/ssdl+xml,ssdl
105
+application/ssml+xml,ssml
106
+application/tei+xml,tei,teicorpus
107
+application/thraud+xml,tfi
108
+application/timestamped-data,tsd
109
+application/vnd.3gpp.pic-bw-large,plb
110
+application/vnd.3gpp.pic-bw-small,psb
111
+application/vnd.3gpp.pic-bw-var,pvb
112
+application/vnd.3gpp2.tcap,tcap
113
+application/vnd.3m.post-it-notes,pwn
114
+application/vnd.accpac.simply.aso,aso
115
+application/vnd.accpac.simply.imp,imp
116
+application/vnd.acucobol,acu
117
+application/vnd.acucorp,atc,acutc
118
+application/vnd.adobe.air-application-installer-package+zip,air
119
+application/vnd.adobe.formscentral.fcdt,fcdt
120
+application/vnd.adobe.fxp,fxp,fxpl
121
+application/vnd.adobe.xdp+xml,xdp
122
+application/vnd.adobe.xfdf,xfdf
123
+application/vnd.ahead.space,ahead
124
+application/vnd.airzip.filesecure.azf,azf
125
+application/vnd.airzip.filesecure.azs,azs
126
+application/vnd.amazon.ebook,azw
127
+application/vnd.americandynamics.acc,acc
128
+application/vnd.amiga.ami,ami
129
+application/vnd.android.package-archive,apk
130
+application/vnd.anser-web-certificate-issue-initiation,cii
131
+application/vnd.anser-web-funds-transfer-initiation,fti
132
+application/vnd.antix.game-component,atx
133
+application/vnd.apple.installer+xml,mpkg
134
+application/vnd.apple.mpegurl,m3u8
135
+application/vnd.aristanetworks.swi,swi
136
+application/vnd.astraea-software.iota,iota
137
+application/vnd.audiograph,aep
138
+application/vnd.blueice.multipass,mpm
139
+application/vnd.bmi,bmi
140
+application/vnd.businessobjects,rep
141
+application/vnd.chemdraw+xml,cdxml
142
+application/vnd.chipnuts.karaoke-mmd,mmd
143
+application/vnd.cinderella,cdy
144
+application/vnd.claymore,cla
145
+application/vnd.cloanto.rp9,rp9
146
+application/vnd.clonk.c4group,c4g,c4d,c4f,c4p,c4u
147
+application/vnd.cluetrust.cartomobile-config,c11amc
148
+application/vnd.cluetrust.cartomobile-config-pkg,c11amz
149
+application/vnd.commonspace,csp
150
+application/vnd.contact.cmsg,cdbcmsg
151
+application/vnd.cosmocaller,cmc
152
+application/vnd.crick.clicker,clkx
153
+application/vnd.crick.clicker.keyboard,clkk
154
+application/vnd.crick.clicker.palette,clkp
155
+application/vnd.crick.clicker.template,clkt
156
+application/vnd.crick.clicker.wordbank,clkw
157
+application/vnd.criticaltools.wbs+xml,wbs
158
+application/vnd.ctc-posml,pml
159
+application/vnd.cups-ppd,ppd
160
+application/vnd.curl.car,car
161
+application/vnd.curl.pcurl,pcurl
162
+application/vnd.dart,dart
163
+application/vnd.data-vision.rdz,rdz
164
+application/vnd.dece.data,uvf,uvvf,uvd,uvvd
165
+application/vnd.dece.ttml+xml,uvt,uvvt
166
+application/vnd.dece.unspecified,uvx,uvvx
167
+application/vnd.dece.zip,uvz,uvvz
168
+application/vnd.denovo.fcselayout-link,fe_launch
169
+application/vnd.dna,dna
170
+application/vnd.dolby.mlp,mlp
171
+application/vnd.dpgraph,dpg
172
+application/vnd.dreamfactory,dfac
173
+application/vnd.ds-keypoint,kpxx
174
+application/vnd.dvb.ait,ait
175
+application/vnd.dvb.service,svc
176
+application/vnd.dynageo,geo
177
+application/vnd.ecowin.chart,mag
178
+application/vnd.enliven,nml
179
+application/vnd.epson.esf,esf
180
+application/vnd.epson.msf,msf
181
+application/vnd.epson.quickanime,qam
182
+application/vnd.epson.salt,slt
183
+application/vnd.epson.ssf,ssf
184
+application/vnd.eszigno3+xml,es3,et3
185
+application/vnd.ezpix-album,ez2
186
+application/vnd.ezpix-package,ez3
187
+application/vnd.fdf,fdf
188
+application/vnd.fdsn.mseed,mseed
189
+application/vnd.fdsn.seed,seed,dataless
190
+application/vnd.flographit,gph
191
+application/vnd.fluxtime.clip,ftc
192
+application/vnd.framemaker,fm,frame,maker,book
193
+application/vnd.frogans.fnc,fnc
194
+application/vnd.frogans.ltf,ltf
195
+application/vnd.fsc.weblaunch,fsc
196
+application/vnd.fujitsu.oasys,oas
197
+application/vnd.fujitsu.oasys2,oa2
198
+application/vnd.fujitsu.oasys3,oa3
199
+application/vnd.fujitsu.oasysgp,fg5
200
+application/vnd.fujitsu.oasysprs,bh2
201
+application/vnd.fujixerox.ddd,ddd
202
+application/vnd.fujixerox.docuworks,xdw
203
+application/vnd.fujixerox.docuworks.binder,xbd
204
+application/vnd.fuzzysheet,fzs
205
+application/vnd.genomatix.tuxedo,txd
206
+application/vnd.geogebra.file,ggb
207
+application/vnd.geogebra.tool,ggt
208
+application/vnd.geometry-explorer,gex,gre
209
+application/vnd.geonext,gxt
210
+application/vnd.geoplan,g2w
211
+application/vnd.geospace,g3w
212
+application/vnd.gmx,gmx
213
+application/vnd.google-earth.kml+xml,kml
214
+application/vnd.google-earth.kmz,kmz
215
+application/vnd.grafeq,gqf,gqs
216
+application/vnd.groove-account,gac
217
+application/vnd.groove-help,ghf
218
+application/vnd.groove-identity-message,gim
219
+application/vnd.groove-injector,grv
220
+application/vnd.groove-tool-message,gtm
221
+application/vnd.groove-tool-template,tpl
222
+application/vnd.groove-vcard,vcg
223
+application/vnd.hal+xml,hal
224
+application/vnd.handheld-entertainment+xml,zmm
225
+application/vnd.hbci,hbci
226
+application/vnd.hhe.lesson-player,les
227
+application/vnd.hp-hpgl,hpgl
228
+application/vnd.hp-hpid,hpid
229
+application/vnd.hp-hps,hps
230
+application/vnd.hp-jlyt,jlt
231
+application/vnd.hp-pcl,pcl
232
+application/vnd.hp-pclxl,pclxl
233
+application/vnd.hydrostatix.sof-data,sfd-hdstx
234
+application/vnd.ibm.minipay,mpy
235
+application/vnd.ibm.modcap,afp,listafp,list3820
236
+application/vnd.ibm.rights-management,irm
237
+application/vnd.ibm.secure-container,sc
238
+application/vnd.iccprofile,icc,icm
239
+application/vnd.igloader,igl
240
+application/vnd.immervision-ivp,ivp
241
+application/vnd.immervision-ivu,ivu
242
+application/vnd.insors.igm,igm
243
+application/vnd.intercon.formnet,xpw,xpx
244
+application/vnd.intergeo,i2g
245
+application/vnd.intu.qbo,qbo
246
+application/vnd.intu.qfx,qfx
247
+application/vnd.ipunplugged.rcprofile,rcprofile
248
+application/vnd.irepository.package+xml,irp
249
+application/vnd.is-xpr,xpr
250
+application/vnd.isac.fcs,fcs
251
+application/vnd.jam,jam
252
+application/vnd.jcp.javame.midlet-rms,rms
253
+application/vnd.jisp,jisp
254
+application/vnd.joost.joda-archive,joda
255
+application/vnd.kahootz,ktz,ktr
256
+application/vnd.kde.karbon,karbon
257
+application/vnd.kde.kchart,chrt
258
+application/vnd.kde.kformula,kfo
259
+application/vnd.kde.kivio,flw
260
+application/vnd.kde.kontour,kon
261
+application/vnd.kde.kpresenter,kpr,kpt
262
+application/vnd.kde.kspread,ksp
263
+application/vnd.kde.kword,kwd,kwt
264
+application/vnd.kenameaapp,htke
265
+application/vnd.kidspiration,kia
266
+application/vnd.kinar,kne,knp
267
+application/vnd.koan,skp,skd,skt,skm
268
+application/vnd.kodak-descriptor,sse
269
+application/vnd.las.las+xml,lasxml
270
+application/vnd.llamagraphics.life-balance.desktop,lbd
271
+application/vnd.llamagraphics.life-balance.exchange+xml,lbe
272
+application/vnd.lotus-1-2-3,123
273
+application/vnd.lotus-approach,apr
274
+application/vnd.lotus-freelance,pre
275
+application/vnd.lotus-notes,nsf
276
+application/vnd.lotus-organizer,org
277
+application/vnd.lotus-screencam,scm
278
+application/vnd.lotus-wordpro,lwp
279
+application/vnd.macports.portpkg,portpkg
280
+application/vnd.mcd,mcd
281
+application/vnd.medcalcdata,mc1
282
+application/vnd.mediastation.cdkey,cdkey
283
+application/vnd.mfer,mwf
284
+application/vnd.mfmp,mfm
285
+application/vnd.micrografx.flo,flo
286
+application/vnd.micrografx.igx,igx
287
+application/vnd.mif,mif
288
+application/vnd.mobius.daf,daf
289
+application/vnd.mobius.dis,dis
290
+application/vnd.mobius.mbk,mbk
291
+application/vnd.mobius.mqy,mqy
292
+application/vnd.mobius.msl,msl
293
+application/vnd.mobius.plc,plc
294
+application/vnd.mobius.txf,txf
295
+application/vnd.mophun.application,mpn
296
+application/vnd.mophun.certificate,mpc
297
+application/vnd.mozilla.xul+xml,xul
298
+application/vnd.ms-artgalry,cil
299
+application/vnd.ms-cab-compressed,cab
300
+application/vnd.ms-excel,xls,xlm,xla,xlc,xlt,xlw
301
+application/vnd.ms-excel.addin.macroenabled.12,xlam
302
+application/vnd.ms-excel.sheet.binary.macroenabled.12,xlsb
303
+application/vnd.ms-excel.sheet.macroenabled.12,xlsm
304
+application/vnd.ms-excel.template.macroenabled.12,xltm
305
+application/vnd.ms-fontobject,eot
306
+application/vnd.ms-htmlhelp,chm
307
+application/vnd.ms-ims,ims
308
+application/vnd.ms-lrm,lrm
309
+application/vnd.ms-officetheme,thmx
310
+application/vnd.ms-pki.seccat,cat
311
+application/vnd.ms-pki.stl,stl
312
+application/vnd.ms-powerpoint,ppt,pps,pot
313
+application/vnd.ms-powerpoint.addin.macroenabled.12,ppam
314
+application/vnd.ms-powerpoint.presentation.macroenabled.12,pptm
315
+application/vnd.ms-powerpoint.slide.macroenabled.12,sldm
316
+application/vnd.ms-powerpoint.slideshow.macroenabled.12,ppsm
317
+application/vnd.ms-powerpoint.template.macroenabled.12,potm
318
+application/vnd.ms-project,mpp,mpt
319
+application/vnd.ms-word.document.macroenabled.12,docm
320
+application/vnd.ms-word.template.macroenabled.12,dotm
321
+application/vnd.ms-works,wps,wks,wcm,wdb
322
+application/vnd.ms-wpl,wpl
323
+application/vnd.ms-xpsdocument,xps
324
+application/vnd.mseq,mseq
325
+application/vnd.musician,mus
326
+application/vnd.muvee.style,msty
327
+application/vnd.mynfc,taglet
328
+application/vnd.neurolanguage.nlu,nlu
329
+application/vnd.nitf,ntf,nitf
330
+application/vnd.noblenet-directory,nnd
331
+application/vnd.noblenet-sealer,nns
332
+application/vnd.noblenet-web,nnw
333
+application/vnd.nokia.n-gage.data,ngdat
334
+application/vnd.nokia.n-gage.symbian.install,n-gage
335
+application/vnd.nokia.radio-preset,rpst
336
+application/vnd.nokia.radio-presets,rpss
337
+application/vnd.novadigm.edm,edm
338
+application/vnd.novadigm.edx,edx
339
+application/vnd.novadigm.ext,ext
340
+application/vnd.oasis.opendocument.chart,odc
341
+application/vnd.oasis.opendocument.chart-template,otc
342
+application/vnd.oasis.opendocument.database,odb
343
+application/vnd.oasis.opendocument.formula,odf
344
+application/vnd.oasis.opendocument.formula-template,odft
345
+application/vnd.oasis.opendocument.graphics,odg
346
+application/vnd.oasis.opendocument.graphics-template,otg
347
+application/vnd.oasis.opendocument.image,odi
348
+application/vnd.oasis.opendocument.image-template,oti
349
+application/vnd.oasis.opendocument.presentation,odp
350
+application/vnd.oasis.opendocument.presentation-template,otp
351
+application/vnd.oasis.opendocument.spreadsheet,ods
352
+application/vnd.oasis.opendocument.spreadsheet-template,ots
353
+application/vnd.oasis.opendocument.text,odt
354
+application/vnd.oasis.opendocument.text-master,odm
355
+application/vnd.oasis.opendocument.text-template,ott
356
+application/vnd.oasis.opendocument.text-web,oth
357
+application/vnd.olpc-sugar,xo
358
+application/vnd.oma.dd2+xml,dd2
359
+application/vnd.openofficeorg.extension,oxt
360
+application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx
361
+application/vnd.openxmlformats-officedocument.presentationml.slide,sldx
362
+application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx
363
+application/vnd.openxmlformats-officedocument.presentationml.template,potx
364
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx
365
+application/vnd.openxmlformats-officedocument.spreadsheetml.template,xltx
366
+application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx
367
+application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx
368
+application/vnd.osgeo.mapguide.package,mgp
369
+application/vnd.osgi.dp,dp
370
+application/vnd.osgi.subsystem,esa
371
+application/vnd.palm,pdb,pqa,oprc
372
+application/vnd.pawaafile,paw
373
+application/vnd.pg.format,str
374
+application/vnd.pg.osasli,ei6
375
+application/vnd.picsel,efif
376
+application/vnd.pmi.widget,wg
377
+application/vnd.pocketlearn,plf
378
+application/vnd.powerbuilder6,pbd
379
+application/vnd.previewsystems.box,box
380
+application/vnd.proteus.magazine,mgz
381
+application/vnd.publishare-delta-tree,qps
382
+application/vnd.pvi.ptid1,ptid
383
+application/vnd.quark.quarkxpress,qxd,qxt,qwd,qwt,qxl,qxb
384
+application/vnd.realvnc.bed,bed
385
+application/vnd.recordare.musicxml,mxl
386
+application/vnd.recordare.musicxml+xml,musicxml
387
+application/vnd.rig.cryptonote,cryptonote
388
+application/vnd.rim.cod,cod
389
+application/vnd.rn-realmedia,rm
390
+application/vnd.rn-realmedia-vbr,rmvb
391
+application/vnd.route66.link66+xml,link66
392
+application/vnd.sailingtracker.track,st
393
+application/vnd.seemail,see
394
+application/vnd.sema,sema
395
+application/vnd.semd,semd
396
+application/vnd.semf,semf
397
+application/vnd.shana.informed.formdata,ifm
398
+application/vnd.shana.informed.formtemplate,itp
399
+application/vnd.shana.informed.interchange,iif
400
+application/vnd.shana.informed.package,ipk
401
+application/vnd.simtech-mindmapper,twd,twds
402
+application/vnd.smaf,mmf
403
+application/vnd.smart.teacher,teacher
404
+application/vnd.solent.sdkm+xml,sdkm,sdkd
405
+application/vnd.spotfire.dxp,dxp
406
+application/vnd.spotfire.sfs,sfs
407
+application/vnd.stardivision.calc,sdc
408
+application/vnd.stardivision.draw,sda
409
+application/vnd.stardivision.impress,sdd
410
+application/vnd.stardivision.math,smf
411
+application/vnd.stardivision.writer,sdw,vor
412
+application/vnd.stardivision.writer-global,sgl
413
+application/vnd.stepmania.package,smzip
414
+application/vnd.stepmania.stepchart,sm
415
+application/vnd.sun.xml.calc,sxc
416
+application/vnd.sun.xml.calc.template,stc
417
+application/vnd.sun.xml.draw,sxd
418
+application/vnd.sun.xml.draw.template,std
419
+application/vnd.sun.xml.impress,sxi
420
+application/vnd.sun.xml.impress.template,sti
421
+application/vnd.sun.xml.math,sxm
422
+application/vnd.sun.xml.writer,sxw
423
+application/vnd.sun.xml.writer.global,sxg
424
+application/vnd.sun.xml.writer.template,stw
425
+application/vnd.sus-calendar,sus,susp
426
+application/vnd.svd,svd
427
+application/vnd.symbian.install,sis,sisx
428
+application/vnd.syncml+xml,xsm
429
+application/vnd.syncml.dm+wbxml,bdm
430
+application/vnd.syncml.dm+xml,xdm
431
+application/vnd.tao.intent-module-archive,tao
432
+application/vnd.tcpdump.pcap,pcap,cap,dmp
433
+application/vnd.tmobile-livetv,tmo
434
+application/vnd.trid.tpt,tpt
435
+application/vnd.triscape.mxs,mxs
436
+application/vnd.trueapp,tra
437
+application/vnd.ufdl,ufd,ufdl
438
+application/vnd.uiq.theme,utz
439
+application/vnd.umajin,umj
440
+application/vnd.unity,unityweb
441
+application/vnd.uoml+xml,uoml
442
+application/vnd.vcx,vcx
443
+application/vnd.visio,vsd,vst,vss,vsw
444
+application/vnd.visionary,vis
445
+application/vnd.vsf,vsf
446
+application/vnd.wap.wbxml,wbxml
447
+application/vnd.wap.wmlc,wmlc
448
+application/vnd.wap.wmlscriptc,wmlsc
449
+application/vnd.webturbo,wtb
450
+application/vnd.wolfram.player,nbp
451
+application/vnd.wordperfect,wpd
452
+application/vnd.wqd,wqd
453
+application/vnd.wt.stf,stf
454
+application/vnd.xara,xar
455
+application/vnd.xfdl,xfdl
456
+application/vnd.yamaha.hv-dic,hvd
457
+application/vnd.yamaha.hv-script,hvs
458
+application/vnd.yamaha.hv-voice,hvp
459
+application/vnd.yamaha.openscoreformat,osf
460
+application/vnd.yamaha.openscoreformat.osfpvg+xml,osfpvg
461
+application/vnd.yamaha.smaf-audio,saf
462
+application/vnd.yamaha.smaf-phrase,spf
463
+application/vnd.yellowriver-custom-menu,cmp
464
+application/vnd.zul,zir,zirz
465
+application/vnd.zzazz.deck+xml,zaz
466
+application/voicexml+xml,vxml
467
+application/widget,wgt
468
+application/winhlp,hlp
469
+application/wsdl+xml,wsdl
470
+application/wspolicy+xml,wspolicy
471
+application/x-7z-compressed,7z
472
+application/x-abiword,abw
473
+application/x-ace-compressed,ace
474
+application/x-apple-diskimage,dmg
475
+application/x-authorware-bin,aab,x32,u32,vox
476
+application/x-authorware-map,aam
477
+application/x-authorware-seg,aas
478
+application/x-bcpio,bcpio
479
+application/x-bittorrent,torrent
480
+application/x-blorb,blb,blorb
481
+application/x-bzip,bz
482
+application/x-bzip2,bz2,boz
483
+application/x-cbr,cbr,cba,cbt,cbz,cb7
484
+application/x-cdlink,vcd
485
+application/x-cfs-compressed,cfs
486
+application/x-chat,chat
487
+application/x-chess-pgn,pgn
488
+application/x-conference,nsc
489
+application/x-cpio,cpio
490
+application/x-csh,csh
491
+application/x-debian-package,deb,udeb
492
+application/x-dgc-compressed,dgc
493
+application/x-director,dir,dcr,dxr,cst,cct,cxt,w3d,fgd,swa
494
+application/x-doom,wad
495
+application/x-dtbncx+xml,ncx
496
+application/x-dtbook+xml,dtb
497
+application/x-dtbresource+xml,res
498
+application/x-dvi,dvi
499
+application/x-envoy,evy
500
+application/x-eva,eva
501
+application/x-font-bdf,bdf
502
+application/x-font-ghostscript,gsf
503
+application/x-font-linux-psf,psf
504
+application/x-font-pcf,pcf
505
+application/x-font-snf,snf
506
+application/x-font-type1,pfa,pfb,pfm,afm
507
+application/x-freearc,arc
508
+application/x-futuresplash,spl
509
+application/x-gca-compressed,gca
510
+application/x-glulx,ulx
511
+application/x-gnumeric,gnumeric
512
+application/x-gramps-xml,gramps
513
+application/x-gtar,gtar
514
+application/x-hdf,hdf
515
+application/x-install-instructions,install
516
+application/x-iso9660-image,iso
517
+application/x-java-jnlp-file,jnlp
518
+application/x-latex,latex
519
+application/x-lzh-compressed,lzh,lha
520
+application/x-mie,mie
521
+application/x-mobipocket-ebook,prc,mobi
522
+application/x-ms-application,application
523
+application/x-ms-shortcut,lnk
524
+application/x-ms-wmd,wmd
525
+application/x-ms-wmz,wmz
526
+application/x-ms-xbap,xbap
527
+application/x-msaccess,mdb
528
+application/x-msbinder,obd
529
+application/x-mscardfile,crd
530
+application/x-msclip,clp
531
+application/x-msdownload,exe,dll,com,bat,msi
532
+application/x-msmediaview,mvb,m13,m14
533
+application/x-msmetafile,wmf,wmz,emf,emz
534
+application/x-msmoney,mny
535
+application/x-mspublisher,pub
536
+application/x-msschedule,scd
537
+application/x-msterminal,trm
538
+application/x-mswrite,wri
539
+application/x-netcdf,nc,cdf
540
+application/x-nzb,nzb
541
+application/x-pkcs12,p12,pfx
542
+application/x-pkcs7-certificates,p7b,spc
543
+application/x-pkcs7-certreqresp,p7r
544
+application/x-rar-compressed,rar
545
+application/x-research-info-systems,ris
546
+application/x-sh,sh
547
+application/x-shar,shar
548
+application/x-shockwave-flash,swf
549
+application/x-silverlight-app,xap
550
+application/x-sql,sql
551
+application/x-stuffit,sit
552
+application/x-stuffitx,sitx
553
+application/x-subrip,srt
554
+application/x-sv4cpio,sv4cpio
555
+application/x-sv4crc,sv4crc
556
+application/x-t3vm-image,t3
557
+application/x-tads,gam
558
+application/x-tar,tar
559
+application/x-tcl,tcl
560
+application/x-tex,tex
561
+application/x-tex-tfm,tfm
562
+application/x-texinfo,texinfo,texi
563
+application/x-tgif,obj
564
+application/x-ustar,ustar
565
+application/x-wais-source,src
566
+application/x-x509-ca-cert,der,crt
567
+application/x-xfig,fig
568
+application/x-xliff+xml,xlf
569
+application/x-xpinstall,xpi
570
+application/x-xz,xz
571
+application/x-zmachine,z1,z2,z3,z4,z5,z6,z7,z8
572
+application/xaml+xml,xaml
573
+application/xcap-diff+xml,xdf
574
+application/xenc+xml,xenc
575
+application/xhtml+xml,xhtml,xht
576
+application/xml,xml,xsl
577
+application/xml-dtd,dtd
578
+application/xop+xml,xop
579
+application/xproc+xml,xpl
580
+application/xslt+xml,xslt
581
+application/xspf+xml,xspf
582
+application/xv+xml,mxml,xhvml,xvml,xvm
583
+application/yang,yang
584
+application/yin+xml,yin
585
+application/zip,zip
586
+audio/adpcm,adp
587
+audio/basic,au,snd
588
+audio/midi,mid,midi,kar,rmi
589
+audio/mp4,m4a,mp4a
590
+audio/mpeg,mpga,mp2,mp2a,mp3,m2a,m3a
591
+audio/ogg,oga,ogg,spx
592
+audio/s3m,s3m
593
+audio/silk,sil
594
+audio/vnd.dece.audio,uva,uvva
595
+audio/vnd.digital-winds,eol
596
+audio/vnd.dra,dra
597
+audio/vnd.dts,dts
598
+audio/vnd.dts.hd,dtshd
599
+audio/vnd.lucent.voice,lvp
600
+audio/vnd.ms-playready.media.pya,pya
601
+audio/vnd.nuera.ecelp4800,ecelp4800
602
+audio/vnd.nuera.ecelp7470,ecelp7470
603
+audio/vnd.nuera.ecelp9600,ecelp9600
604
+audio/vnd.rip,rip
605
+audio/webm,weba
606
+audio/x-aac,aac
607
+audio/x-aiff,aif,aiff,aifc
608
+audio/x-caf,caf
609
+audio/x-flac,flac
610
+audio/x-matroska,mka
611
+audio/x-mpegurl,m3u
612
+audio/x-ms-wax,wax
613
+audio/x-ms-wma,wma
614
+audio/x-pn-realaudio,ram,ra
615
+audio/x-pn-realaudio-plugin,rmp
616
+audio/x-wav,wav
617
+audio/xm,xm
618
+chemical/x-cdx,cdx
619
+chemical/x-cif,cif
620
+chemical/x-cmdf,cmdf
621
+chemical/x-cml,cml
622
+chemical/x-csml,csml
623
+chemical/x-xyz,xyz
624
+font/collection,ttc
625
+font/otf,otf
626
+font/ttf,ttf
627
+font/woff,woff
628
+font/woff2,woff2
629
+image/bmp,bmp
630
+image/cgm,cgm
631
+image/g3fax,g3
632
+image/gif,gif
633
+image/ief,ief
634
+image/jpeg,jpeg,jpg,jpe
635
+image/ktx,ktx
636
+image/png,png
637
+image/prs.btif,btif
638
+image/sgi,sgi
639
+image/svg+xml,svg,svgz
640
+image/tiff,tiff,tif
641
+image/vnd.adobe.photoshop,psd
642
+image/vnd.dece.graphic,uvi,uvvi,uvg,uvvg
643
+image/vnd.djvu,djvu,djv
644
+image/vnd.dvb.subtitle,sub
645
+image/vnd.dwg,dwg
646
+image/vnd.dxf,dxf
647
+image/vnd.fastbidsheet,fbs
648
+image/vnd.fpx,fpx
649
+image/vnd.fst,fst
650
+image/vnd.fujixerox.edmics-mmr,mmr
651
+image/vnd.fujixerox.edmics-rlc,rlc
652
+image/vnd.ms-modi,mdi
653
+image/vnd.ms-photo,wdp
654
+image/vnd.net-fpx,npx
655
+image/vnd.wap.wbmp,wbmp
656
+image/vnd.xiff,xif
657
+image/webp,webp
658
+image/x-3ds,3ds
659
+image/x-cmu-raster,ras
660
+image/x-cmx,cmx
661
+image/x-freehand,fh,fhc,fh4,fh5,fh7
662
+image/x-icon,ico
663
+image/x-mrsid-image,sid
664
+image/x-pcx,pcx
665
+image/x-pict,pic,pct
666
+image/x-portable-anymap,pnm
667
+image/x-portable-bitmap,pbm
668
+image/x-portable-graymap,pgm
669
+image/x-portable-pixmap,ppm
670
+image/x-rgb,rgb
671
+image/x-tga,tga
672
+image/x-xbitmap,xbm
673
+image/x-xpixmap,xpm
674
+image/x-xwindowdump,xwd
675
+message/rfc822,eml,mime
676
+model/iges,igs,iges
677
+model/mesh,msh,mesh,silo
678
+model/vnd.collada+xml,dae
679
+model/vnd.dwf,dwf
680
+model/vnd.gdl,gdl
681
+model/vnd.gtw,gtw
682
+model/vnd.mts,mts
683
+model/vnd.vtu,vtu
684
+model/vrml,wrl,vrml
685
+model/x3d+binary,x3db,x3dbz
686
+model/x3d+vrml,x3dv,x3dvz
687
+model/x3d+xml,x3d,x3dz
688
+text/cache-manifest,appcache
689
+text/calendar,ics,ifb
690
+text/css,css
691
+text/csv,csv
692
+text/html,html,htm
693
+text/n3,n3
694
+text/plain,txt,text,conf,def,list,log,in
695
+text/prs.lines.tag,dsc
696
+text/richtext,rtx
697
+text/sgml,sgml,sgm
698
+text/tab-separated-values,tsv
699
+text/troff,t,tr,roff,man,me,ms
700
+text/turtle,ttl
701
+text/uri-list,uri,uris,urls
702
+text/vcard,vcard
703
+text/vnd.curl,curl
704
+text/vnd.curl.dcurl,dcurl
705
+text/vnd.curl.mcurl,mcurl
706
+text/vnd.curl.scurl,scurl
707
+text/vnd.dvb.subtitle,sub
708
+text/vnd.fly,fly
709
+text/vnd.fmi.flexstor,flx
710
+text/vnd.graphviz,gv
711
+text/vnd.in3d.3dml,3dml
712
+text/vnd.in3d.spot,spot
713
+text/vnd.sun.j2me.app-descriptor,jad
714
+text/vnd.wap.wml,wml
715
+text/vnd.wap.wmlscript,wmls
716
+text/x-asm,s,asm
717
+text/x-c,c,cc,cxx,cpp,h,hh,dic
718
+text/x-fortran,f,for,f77,f90
719
+text/x-java-source,java
720
+text/x-nfo,nfo
721
+text/x-opml,opml
722
+text/x-pascal,p,pas
723
+text/x-setext,etx
724
+text/x-sfv,sfv
725
+text/x-uuencode,uu
726
+text/x-vcalendar,vcs
727
+text/x-vcard,vcf
728
+video/3gpp,3gp
729
+video/3gpp2,3g2
730
+video/h261,h261
731
+video/h263,h263
732
+video/h264,h264
733
+video/jpeg,jpgv
734
+video/jpm,jpm,jpgm
735
+video/mj2,mj2,mjp2
736
+video/mp4,mp4,mp4v,mpg4
737
+video/mpeg,mpeg,mpg,mpe,m1v,m2v
738
+video/ogg,ogv
739
+video/quicktime,qt,mov
740
+video/vnd.dece.hd,uvh,uvvh
741
+video/vnd.dece.mobile,uvm,uvvm
742
+video/vnd.dece.pd,uvp,uvvp
743
+video/vnd.dece.sd,uvs,uvvs
744
+video/vnd.dece.video,uvv,uvvv
745
+video/vnd.dvb.file,dvb
746
+video/vnd.fvt,fvt
747
+video/vnd.mpegurl,mxu,m4u
748
+video/vnd.ms-playready.media.pyv,pyv
749
+video/vnd.uvvu.mp4,uvu,uvvu
750
+video/vnd.vivo,viv
751
+video/webm,webm
752
+video/x-f4v,f4v
753
+video/x-fli,fli
754
+video/x-flv,flv
755
+video/x-m4v,m4v
756
+video/x-matroska,mkv,mk3d,mks
757
+video/x-mng,mng
758
+video/x-ms-asf,asf,asx
759
+video/x-ms-vob,vob
760
+video/x-ms-wm,wm
761
+video/x-ms-wmv,wmv
762
+video/x-ms-wmx,wmx
763
+video/x-ms-wvx,wvx
764
+video/x-msvideo,avi
765
+video/x-sgi-movie,movie
766
+video/x-smv,smv
767
+x-conference/x-cooltalk,ice
768
+

+ 987
- 0
mimetype_tools/mimetypes.php View File

@@ -0,0 +1,987 @@
1
+[
2
+	"ez" => "application/andrew-inset",
3
+	"aw" => "application/applixware",
4
+	"atom" => "application/atom+xml",
5
+	"atomcat" => "application/atomcat+xml",
6
+	"atomsvc" => "application/atomsvc+xml",
7
+	"ccxml" => "application/ccxml+xml",
8
+	"cdmia" => "application/cdmi-capability",
9
+	"cdmic" => "application/cdmi-container",
10
+	"cdmid" => "application/cdmi-domain",
11
+	"cdmio" => "application/cdmi-object",
12
+	"cdmiq" => "application/cdmi-queue",
13
+	"cu" => "application/cu-seeme",
14
+	"davmount" => "application/davmount+xml",
15
+	"dbk" => "application/docbook+xml",
16
+	"dssc" => "application/dssc+der",
17
+	"xdssc" => "application/dssc+xml",
18
+	"ecma" => "application/ecmascript",
19
+	"emma" => "application/emma+xml",
20
+	"epub" => "application/epub+zip",
21
+	"exi" => "application/exi",
22
+	"pfr" => "application/font-tdpfr",
23
+	"gml" => "application/gml+xml",
24
+	"gpx" => "application/gpx+xml",
25
+	"gxf" => "application/gxf",
26
+	"stk" => "application/hyperstudio",
27
+	"ink" => "application/inkml+xml",
28
+	"inkml" => "application/inkml+xml",
29
+	"ipfix" => "application/ipfix",
30
+	"jar" => "application/java-archive",
31
+	"ser" => "application/java-serialized-object",
32
+	"class" => "application/java-vm",
33
+	"js" => "application/javascript",
34
+	"json" => "application/json",
35
+	"jsonml" => "application/jsonml+json",
36
+	"lostxml" => "application/lost+xml",
37
+	"hqx" => "application/mac-binhex40",
38
+	"cpt" => "application/mac-compactpro",
39
+	"mads" => "application/mads+xml",
40
+	"mrc" => "application/marc",
41
+	"mrcx" => "application/marcxml+xml",
42
+	"ma" => "application/mathematica",
43
+	"nb" => "application/mathematica",
44
+	"mb" => "application/mathematica",
45
+	"mathml" => "application/mathml+xml",
46
+	"mbox" => "application/mbox",
47
+	"mscml" => "application/mediaservercontrol+xml",
48
+	"metalink" => "application/metalink+xml",
49
+	"meta4" => "application/metalink4+xml",
50
+	"mets" => "application/mets+xml",
51
+	"mods" => "application/mods+xml",
52
+	"m21" => "application/mp21",
53
+	"mp21" => "application/mp21",
54
+	"mp4s" => "application/mp4",
55
+	"doc" => "application/msword",
56
+	"dot" => "application/msword",
57
+	"mxf" => "application/mxf",
58
+	"bin" => "application/octet-stream",
59
+	"dms" => "application/octet-stream",
60
+	"lrf" => "application/octet-stream",
61
+	"mar" => "application/octet-stream",
62
+	"so" => "application/octet-stream",
63
+	"dist" => "application/octet-stream",
64
+	"distz" => "application/octet-stream",
65
+	"pkg" => "application/octet-stream",
66
+	"bpk" => "application/octet-stream",
67
+	"dump" => "application/octet-stream",
68
+	"elc" => "application/octet-stream",
69
+	"deploy" => "application/octet-stream",
70
+	"oda" => "application/oda",
71
+	"opf" => "application/oebps-package+xml",
72
+	"ogx" => "application/ogg",
73
+	"omdoc" => "application/omdoc+xml",
74
+	"onetoc" => "application/onenote",
75
+	"onetoc2" => "application/onenote",
76
+	"onetmp" => "application/onenote",
77
+	"onepkg" => "application/onenote",
78
+	"oxps" => "application/oxps",
79
+	"xer" => "application/patch-ops-error+xml",
80
+	"pdf" => "application/pdf",
81
+	"pgp" => "application/pgp-encrypted",
82
+	"asc" => "application/pgp-signature",
83
+	"sig" => "application/pgp-signature",
84
+	"prf" => "application/pics-rules",
85
+	"p10" => "application/pkcs10",
86
+	"p7m" => "application/pkcs7-mime",
87
+	"p7c" => "application/pkcs7-mime",
88
+	"p7s" => "application/pkcs7-signature",
89
+	"p8" => "application/pkcs8",
90
+	"ac" => "application/pkix-attr-cert",
91
+	"cer" => "application/pkix-cert",
92
+	"crl" => "application/pkix-crl",
93
+	"pkipath" => "application/pkix-pkipath",
94
+	"pki" => "application/pkixcmp",
95
+	"pls" => "application/pls+xml",
96
+	"ai" => "application/postscript",
97
+	"eps" => "application/postscript",
98
+	"ps" => "application/postscript",
99
+	"cww" => "application/prs.cww",
100
+	"pskcxml" => "application/pskc+xml",
101
+	"rdf" => "application/rdf+xml",
102
+	"rif" => "application/reginfo+xml",
103
+	"rnc" => "application/relax-ng-compact-syntax",
104
+	"rl" => "application/resource-lists+xml",
105
+	"rld" => "application/resource-lists-diff+xml",
106
+	"rs" => "application/rls-services+xml",
107
+	"gbr" => "application/rpki-ghostbusters",
108
+	"mft" => "application/rpki-manifest",
109
+	"roa" => "application/rpki-roa",
110
+	"rsd" => "application/rsd+xml",
111
+	"rss" => "application/rss+xml",
112
+	"rtf" => "application/rtf",
113
+	"sbml" => "application/sbml+xml",
114
+	"scq" => "application/scvp-cv-request",
115
+	"scs" => "application/scvp-cv-response",
116
+	"spq" => "application/scvp-vp-request",
117
+	"spp" => "application/scvp-vp-response",
118
+	"sdp" => "application/sdp",
119
+	"setpay" => "application/set-payment-initiation",
120
+	"setreg" => "application/set-registration-initiation",
121
+	"shf" => "application/shf+xml",
122
+	"smi" => "application/smil+xml",
123
+	"smil" => "application/smil+xml",
124
+	"rq" => "application/sparql-query",
125
+	"srx" => "application/sparql-results+xml",
126
+	"gram" => "application/srgs",
127
+	"grxml" => "application/srgs+xml",
128
+	"sru" => "application/sru+xml",
129
+	"ssdl" => "application/ssdl+xml",
130
+	"ssml" => "application/ssml+xml",
131
+	"tei" => "application/tei+xml",
132
+	"teicorpus" => "application/tei+xml",
133
+	"tfi" => "application/thraud+xml",
134
+	"tsd" => "application/timestamped-data",
135
+	"plb" => "application/vnd.3gpp.pic-bw-large",
136
+	"psb" => "application/vnd.3gpp.pic-bw-small",
137
+	"pvb" => "application/vnd.3gpp.pic-bw-var",
138
+	"tcap" => "application/vnd.3gpp2.tcap",
139
+	"pwn" => "application/vnd.3m.post-it-notes",
140
+	"aso" => "application/vnd.accpac.simply.aso",
141
+	"imp" => "application/vnd.accpac.simply.imp",
142
+	"acu" => "application/vnd.acucobol",
143
+	"atc" => "application/vnd.acucorp",
144
+	"acutc" => "application/vnd.acucorp",
145
+	"air" => "application/vnd.adobe.air-application-installer-package+zip",
146
+	"fcdt" => "application/vnd.adobe.formscentral.fcdt",
147
+	"fxp" => "application/vnd.adobe.fxp",
148
+	"fxpl" => "application/vnd.adobe.fxp",
149
+	"xdp" => "application/vnd.adobe.xdp+xml",
150
+	"xfdf" => "application/vnd.adobe.xfdf",
151
+	"ahead" => "application/vnd.ahead.space",
152
+	"azf" => "application/vnd.airzip.filesecure.azf",
153
+	"azs" => "application/vnd.airzip.filesecure.azs",
154
+	"azw" => "application/vnd.amazon.ebook",
155
+	"acc" => "application/vnd.americandynamics.acc",
156
+	"ami" => "application/vnd.amiga.ami",
157
+	"apk" => "application/vnd.android.package-archive",
158
+	"cii" => "application/vnd.anser-web-certificate-issue-initiation",
159
+	"fti" => "application/vnd.anser-web-funds-transfer-initiation",
160
+	"atx" => "application/vnd.antix.game-component",
161
+	"mpkg" => "application/vnd.apple.installer+xml",
162
+	"m3u8" => "application/vnd.apple.mpegurl",
163
+	"swi" => "application/vnd.aristanetworks.swi",
164
+	"iota" => "application/vnd.astraea-software.iota",
165
+	"aep" => "application/vnd.audiograph",
166
+	"mpm" => "application/vnd.blueice.multipass",
167
+	"bmi" => "application/vnd.bmi",
168
+	"rep" => "application/vnd.businessobjects",
169
+	"cdxml" => "application/vnd.chemdraw+xml",
170
+	"mmd" => "application/vnd.chipnuts.karaoke-mmd",
171
+	"cdy" => "application/vnd.cinderella",
172
+	"cla" => "application/vnd.claymore",
173
+	"rp9" => "application/vnd.cloanto.rp9",
174
+	"c4g" => "application/vnd.clonk.c4group",
175
+	"c4d" => "application/vnd.clonk.c4group",
176
+	"c4f" => "application/vnd.clonk.c4group",
177
+	"c4p" => "application/vnd.clonk.c4group",
178
+	"c4u" => "application/vnd.clonk.c4group",
179
+	"c11amc" => "application/vnd.cluetrust.cartomobile-config",
180
+	"c11amz" => "application/vnd.cluetrust.cartomobile-config-pkg",
181
+	"csp" => "application/vnd.commonspace",
182
+	"cdbcmsg" => "application/vnd.contact.cmsg",
183
+	"cmc" => "application/vnd.cosmocaller",
184
+	"clkx" => "application/vnd.crick.clicker",
185
+	"clkk" => "application/vnd.crick.clicker.keyboard",
186
+	"clkp" => "application/vnd.crick.clicker.palette",
187
+	"clkt" => "application/vnd.crick.clicker.template",
188
+	"clkw" => "application/vnd.crick.clicker.wordbank",
189
+	"wbs" => "application/vnd.criticaltools.wbs+xml",
190
+	"pml" => "application/vnd.ctc-posml",
191
+	"ppd" => "application/vnd.cups-ppd",
192
+	"car" => "application/vnd.curl.car",
193
+	"pcurl" => "application/vnd.curl.pcurl",
194
+	"dart" => "application/vnd.dart",
195
+	"rdz" => "application/vnd.data-vision.rdz",
196
+	"uvf" => "application/vnd.dece.data",
197
+	"uvvf" => "application/vnd.dece.data",
198
+	"uvd" => "application/vnd.dece.data",
199
+	"uvvd" => "application/vnd.dece.data",
200
+	"uvt" => "application/vnd.dece.ttml+xml",
201
+	"uvvt" => "application/vnd.dece.ttml+xml",
202
+	"uvx" => "application/vnd.dece.unspecified",
203
+	"uvvx" => "application/vnd.dece.unspecified",
204
+	"uvz" => "application/vnd.dece.zip",
205
+	"uvvz" => "application/vnd.dece.zip",
206
+	"fe_launch" => "application/vnd.denovo.fcselayout-link",
207
+	"dna" => "application/vnd.dna",
208
+	"mlp" => "application/vnd.dolby.mlp",
209
+	"dpg" => "application/vnd.dpgraph",
210
+	"dfac" => "application/vnd.dreamfactory",
211
+	"kpxx" => "application/vnd.ds-keypoint",
212
+	"ait" => "application/vnd.dvb.ait",
213
+	"svc" => "application/vnd.dvb.service",
214
+	"geo" => "application/vnd.dynageo",
215
+	"mag" => "application/vnd.ecowin.chart",
216
+	"nml" => "application/vnd.enliven",
217
+	"esf" => "application/vnd.epson.esf",
218
+	"msf" => "application/vnd.epson.msf",
219
+	"qam" => "application/vnd.epson.quickanime",
220
+	"slt" => "application/vnd.epson.salt",
221
+	"ssf" => "application/vnd.epson.ssf",
222
+	"es3" => "application/vnd.eszigno3+xml",
223
+	"et3" => "application/vnd.eszigno3+xml",
224
+	"ez2" => "application/vnd.ezpix-album",
225
+	"ez3" => "application/vnd.ezpix-package",
226
+	"fdf" => "application/vnd.fdf",
227
+	"mseed" => "application/vnd.fdsn.mseed",
228
+	"seed" => "application/vnd.fdsn.seed",
229
+	"dataless" => "application/vnd.fdsn.seed",
230
+	"gph" => "application/vnd.flographit",
231
+	"ftc" => "application/vnd.fluxtime.clip",
232
+	"fm" => "application/vnd.framemaker",
233
+	"frame" => "application/vnd.framemaker",
234
+	"maker" => "application/vnd.framemaker",
235
+	"book" => "application/vnd.framemaker",
236
+	"fnc" => "application/vnd.frogans.fnc",
237
+	"ltf" => "application/vnd.frogans.ltf",
238
+	"fsc" => "application/vnd.fsc.weblaunch",
239
+	"oas" => "application/vnd.fujitsu.oasys",
240
+	"oa2" => "application/vnd.fujitsu.oasys2",
241
+	"oa3" => "application/vnd.fujitsu.oasys3",
242
+	"fg5" => "application/vnd.fujitsu.oasysgp",
243
+	"bh2" => "application/vnd.fujitsu.oasysprs",
244
+	"ddd" => "application/vnd.fujixerox.ddd",
245
+	"xdw" => "application/vnd.fujixerox.docuworks",
246
+	"xbd" => "application/vnd.fujixerox.docuworks.binder",
247
+	"fzs" => "application/vnd.fuzzysheet",
248
+	"txd" => "application/vnd.genomatix.tuxedo",
249
+	"ggb" => "application/vnd.geogebra.file",
250
+	"ggt" => "application/vnd.geogebra.tool",
251
+	"gex" => "application/vnd.geometry-explorer",
252
+	"gre" => "application/vnd.geometry-explorer",
253
+	"gxt" => "application/vnd.geonext",
254
+	"g2w" => "application/vnd.geoplan",
255
+	"g3w" => "application/vnd.geospace",
256
+	"gmx" => "application/vnd.gmx",
257
+	"kml" => "application/vnd.google-earth.kml+xml",
258
+	"kmz" => "application/vnd.google-earth.kmz",
259
+	"gqf" => "application/vnd.grafeq",
260
+	"gqs" => "application/vnd.grafeq",
261
+	"gac" => "application/vnd.groove-account",
262
+	"ghf" => "application/vnd.groove-help",
263
+	"gim" => "application/vnd.groove-identity-message",
264
+	"grv" => "application/vnd.groove-injector",
265
+	"gtm" => "application/vnd.groove-tool-message",
266
+	"tpl" => "application/vnd.groove-tool-template",
267
+	"vcg" => "application/vnd.groove-vcard",
268
+	"hal" => "application/vnd.hal+xml",
269
+	"zmm" => "application/vnd.handheld-entertainment+xml",
270
+	"hbci" => "application/vnd.hbci",
271
+	"les" => "application/vnd.hhe.lesson-player",
272
+	"hpgl" => "application/vnd.hp-hpgl",
273
+	"hpid" => "application/vnd.hp-hpid",
274
+	"hps" => "application/vnd.hp-hps",
275
+	"jlt" => "application/vnd.hp-jlyt",
276
+	"pcl" => "application/vnd.hp-pcl",
277
+	"pclxl" => "application/vnd.hp-pclxl",
278
+	"sfd-hdstx" => "application/vnd.hydrostatix.sof-data",
279
+	"mpy" => "application/vnd.ibm.minipay",
280
+	"afp" => "application/vnd.ibm.modcap",
281
+	"listafp" => "application/vnd.ibm.modcap",
282
+	"list3820" => "application/vnd.ibm.modcap",
283
+	"irm" => "application/vnd.ibm.rights-management",
284
+	"sc" => "application/vnd.ibm.secure-container",
285
+	"icc" => "application/vnd.iccprofile",
286
+	"icm" => "application/vnd.iccprofile",
287
+	"igl" => "application/vnd.igloader",
288
+	"ivp" => "application/vnd.immervision-ivp",
289
+	"ivu" => "application/vnd.immervision-ivu",
290
+	"igm" => "application/vnd.insors.igm",
291
+	"xpw" => "application/vnd.intercon.formnet",
292
+	"xpx" => "application/vnd.intercon.formnet",
293
+	"i2g" => "application/vnd.intergeo",
294
+	"qbo" => "application/vnd.intu.qbo",
295
+	"qfx" => "application/vnd.intu.qfx",
296
+	"rcprofile" => "application/vnd.ipunplugged.rcprofile",
297
+	"irp" => "application/vnd.irepository.package+xml",
298
+	"xpr" => "application/vnd.is-xpr",
299
+	"fcs" => "application/vnd.isac.fcs",
300
+	"jam" => "application/vnd.jam",
301
+	"rms" => "application/vnd.jcp.javame.midlet-rms",
302
+	"jisp" => "application/vnd.jisp",
303
+	"joda" => "application/vnd.joost.joda-archive",
304
+	"ktz" => "application/vnd.kahootz",
305
+	"ktr" => "application/vnd.kahootz",
306
+	"karbon" => "application/vnd.kde.karbon",
307
+	"chrt" => "application/vnd.kde.kchart",
308
+	"kfo" => "application/vnd.kde.kformula",
309
+	"flw" => "application/vnd.kde.kivio",
310
+	"kon" => "application/vnd.kde.kontour",
311
+	"kpr" => "application/vnd.kde.kpresenter",
312
+	"kpt" => "application/vnd.kde.kpresenter",
313
+	"ksp" => "application/vnd.kde.kspread",
314
+	"kwd" => "application/vnd.kde.kword",
315
+	"kwt" => "application/vnd.kde.kword",
316
+	"htke" => "application/vnd.kenameaapp",
317
+	"kia" => "application/vnd.kidspiration",
318
+	"kne" => "application/vnd.kinar",
319
+	"knp" => "application/vnd.kinar",
320
+	"skp" => "application/vnd.koan",
321
+	"skd" => "application/vnd.koan",
322
+	"skt" => "application/vnd.koan",
323
+	"skm" => "application/vnd.koan",
324
+	"sse" => "application/vnd.kodak-descriptor",
325
+	"lasxml" => "application/vnd.las.las+xml",
326
+	"lbd" => "application/vnd.llamagraphics.life-balance.desktop",
327
+	"lbe" => "application/vnd.llamagraphics.life-balance.exchange+xml",
328
+	"123" => "application/vnd.lotus-1-2-3",
329
+	"apr" => "application/vnd.lotus-approach",
330
+	"pre" => "application/vnd.lotus-freelance",
331
+	"nsf" => "application/vnd.lotus-notes",
332
+	"org" => "application/vnd.lotus-organizer",
333
+	"scm" => "application/vnd.lotus-screencam",
334
+	"lwp" => "application/vnd.lotus-wordpro",
335
+	"portpkg" => "application/vnd.macports.portpkg",
336
+	"mcd" => "application/vnd.mcd",
337
+	"mc1" => "application/vnd.medcalcdata",
338
+	"cdkey" => "application/vnd.mediastation.cdkey",
339
+	"mwf" => "application/vnd.mfer",
340
+	"mfm" => "application/vnd.mfmp",
341
+	"flo" => "application/vnd.micrografx.flo",
342
+	"igx" => "application/vnd.micrografx.igx",
343
+	"mif" => "application/vnd.mif",
344
+	"daf" => "application/vnd.mobius.daf",
345
+	"dis" => "application/vnd.mobius.dis",
346
+	"mbk" => "application/vnd.mobius.mbk",
347
+	"mqy" => "application/vnd.mobius.mqy",
348
+	"msl" => "application/vnd.mobius.msl",
349
+	"plc" => "application/vnd.mobius.plc",
350
+	"txf" => "application/vnd.mobius.txf",
351
+	"mpn" => "application/vnd.mophun.application",
352
+	"mpc" => "application/vnd.mophun.certificate",
353
+	"xul" => "application/vnd.mozilla.xul+xml",
354
+	"cil" => "application/vnd.ms-artgalry",
355
+	"cab" => "application/vnd.ms-cab-compressed",
356
+	"xls" => "application/vnd.ms-excel",
357
+	"xlm" => "application/vnd.ms-excel",
358
+	"xla" => "application/vnd.ms-excel",
359
+	"xlc" => "application/vnd.ms-excel",
360
+	"xlt" => "application/vnd.ms-excel",
361
+	"xlw" => "application/vnd.ms-excel",
362
+	"xlam" => "application/vnd.ms-excel.addin.macroenabled.12",
363
+	"xlsb" => "application/vnd.ms-excel.sheet.binary.macroenabled.12",
364
+	"xlsm" => "application/vnd.ms-excel.sheet.macroenabled.12",
365
+	"xltm" => "application/vnd.ms-excel.template.macroenabled.12",
366
+	"eot" => "application/vnd.ms-fontobject",
367
+	"chm" => "application/vnd.ms-htmlhelp",
368
+	"ims" => "application/vnd.ms-ims",
369
+	"lrm" => "application/vnd.ms-lrm",
370
+	"thmx" => "application/vnd.ms-officetheme",
371
+	"cat" => "application/vnd.ms-pki.seccat",
372
+	"stl" => "application/vnd.ms-pki.stl",
373
+	"ppt" => "application/vnd.ms-powerpoint",
374
+	"pps" => "application/vnd.ms-powerpoint",
375
+	"pot" => "application/vnd.ms-powerpoint",
376
+	"ppam" => "application/vnd.ms-powerpoint.addin.macroenabled.12",
377
+	"pptm" => "application/vnd.ms-powerpoint.presentation.macroenabled.12",
378
+	"sldm" => "application/vnd.ms-powerpoint.slide.macroenabled.12",
379
+	"ppsm" => "application/vnd.ms-powerpoint.slideshow.macroenabled.12",
380
+	"potm" => "application/vnd.ms-powerpoint.template.macroenabled.12",
381
+	"mpp" => "application/vnd.ms-project",
382
+	"mpt" => "application/vnd.ms-project",
383
+	"docm" => "application/vnd.ms-word.document.macroenabled.12",
384
+	"dotm" => "application/vnd.ms-word.template.macroenabled.12",
385
+	"wps" => "application/vnd.ms-works",
386
+	"wks" => "application/vnd.ms-works",
387
+	"wcm" => "application/vnd.ms-works",
388
+	"wdb" => "application/vnd.ms-works",
389
+	"wpl" => "application/vnd.ms-wpl",
390
+	"xps" => "application/vnd.ms-xpsdocument",
391
+	"mseq" => "application/vnd.mseq",
392
+	"mus" => "application/vnd.musician",
393
+	"msty" => "application/vnd.muvee.style",
394
+	"taglet" => "application/vnd.mynfc",
395
+	"nlu" => "application/vnd.neurolanguage.nlu",
396
+	"ntf" => "application/vnd.nitf",
397
+	"nitf" => "application/vnd.nitf",
398
+	"nnd" => "application/vnd.noblenet-directory",
399
+	"nns" => "application/vnd.noblenet-sealer",
400
+	"nnw" => "application/vnd.noblenet-web",
401
+	"ngdat" => "application/vnd.nokia.n-gage.data",
402
+	"n-gage" => "application/vnd.nokia.n-gage.symbian.install",
403
+	"rpst" => "application/vnd.nokia.radio-preset",
404
+	"rpss" => "application/vnd.nokia.radio-presets",
405
+	"edm" => "application/vnd.novadigm.edm",
406
+	"edx" => "application/vnd.novadigm.edx",
407
+	"ext" => "application/vnd.novadigm.ext",
408
+	"odc" => "application/vnd.oasis.opendocument.chart",
409
+	"otc" => "application/vnd.oasis.opendocument.chart-template",
410
+	"odb" => "application/vnd.oasis.opendocument.database",
411
+	"odf" => "application/vnd.oasis.opendocument.formula",
412
+	"odft" => "application/vnd.oasis.opendocument.formula-template",
413
+	"odg" => "application/vnd.oasis.opendocument.graphics",
414
+	"otg" => "application/vnd.oasis.opendocument.graphics-template",
415
+	"odi" => "application/vnd.oasis.opendocument.image",
416
+	"oti" => "application/vnd.oasis.opendocument.image-template",
417
+	"odp" => "application/vnd.oasis.opendocument.presentation",
418
+	"otp" => "application/vnd.oasis.opendocument.presentation-template",
419
+	"ods" => "application/vnd.oasis.opendocument.spreadsheet",
420
+	"ots" => "application/vnd.oasis.opendocument.spreadsheet-template",
421
+	"odt" => "application/vnd.oasis.opendocument.text",
422
+	"odm" => "application/vnd.oasis.opendocument.text-master",
423
+	"ott" => "application/vnd.oasis.opendocument.text-template",
424
+	"oth" => "application/vnd.oasis.opendocument.text-web",
425
+	"xo" => "application/vnd.olpc-sugar",
426
+	"dd2" => "application/vnd.oma.dd2+xml",
427
+	"oxt" => "application/vnd.openofficeorg.extension",
428
+	"pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
429
+	"sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide",
430
+	"ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
431
+	"potx" => "application/vnd.openxmlformats-officedocument.presentationml.template",
432
+	"xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
433
+	"xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
434
+	"docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
435
+	"dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
436
+	"mgp" => "application/vnd.osgeo.mapguide.package",
437
+	"dp" => "application/vnd.osgi.dp",
438
+	"esa" => "application/vnd.osgi.subsystem",
439
+	"pdb" => "application/vnd.palm",
440
+	"pqa" => "application/vnd.palm",
441
+	"oprc" => "application/vnd.palm",
442
+	"paw" => "application/vnd.pawaafile",
443
+	"str" => "application/vnd.pg.format",
444
+	"ei6" => "application/vnd.pg.osasli",
445
+	"efif" => "application/vnd.picsel",
446
+	"wg" => "application/vnd.pmi.widget",
447
+	"plf" => "application/vnd.pocketlearn",
448
+	"pbd" => "application/vnd.powerbuilder6",
449
+	"box" => "application/vnd.previewsystems.box",
450
+	"mgz" => "application/vnd.proteus.magazine",
451
+	"qps" => "application/vnd.publishare-delta-tree",
452
+	"ptid" => "application/vnd.pvi.ptid1",
453
+	"qxd" => "application/vnd.quark.quarkxpress",
454
+	"qxt" => "application/vnd.quark.quarkxpress",
455
+	"qwd" => "application/vnd.quark.quarkxpress",
456
+	"qwt" => "application/vnd.quark.quarkxpress",
457
+	"qxl" => "application/vnd.quark.quarkxpress",
458
+	"qxb" => "application/vnd.quark.quarkxpress",
459
+	"bed" => "application/vnd.realvnc.bed",
460
+	"mxl" => "application/vnd.recordare.musicxml",
461
+	"musicxml" => "application/vnd.recordare.musicxml+xml",
462
+	"cryptonote" => "application/vnd.rig.cryptonote",
463
+	"cod" => "application/vnd.rim.cod",
464
+	"rm" => "application/vnd.rn-realmedia",
465
+	"rmvb" => "application/vnd.rn-realmedia-vbr",
466
+	"link66" => "application/vnd.route66.link66+xml",
467
+	"st" => "application/vnd.sailingtracker.track",
468
+	"see" => "application/vnd.seemail",
469
+	"sema" => "application/vnd.sema",
470
+	"semd" => "application/vnd.semd",
471
+	"semf" => "application/vnd.semf",
472
+	"ifm" => "application/vnd.shana.informed.formdata",
473
+	"itp" => "application/vnd.shana.informed.formtemplate",
474
+	"iif" => "application/vnd.shana.informed.interchange",
475
+	"ipk" => "application/vnd.shana.informed.package",
476
+	"twd" => "application/vnd.simtech-mindmapper",
477
+	"twds" => "application/vnd.simtech-mindmapper",
478
+	"mmf" => "application/vnd.smaf",
479
+	"teacher" => "application/vnd.smart.teacher",
480
+	"sdkm" => "application/vnd.solent.sdkm+xml",
481
+	"sdkd" => "application/vnd.solent.sdkm+xml",
482
+	"dxp" => "application/vnd.spotfire.dxp",
483
+	"sfs" => "application/vnd.spotfire.sfs",
484
+	"sdc" => "application/vnd.stardivision.calc",
485
+	"sda" => "application/vnd.stardivision.draw",
486
+	"sdd" => "application/vnd.stardivision.impress",
487
+	"smf" => "application/vnd.stardivision.math",
488
+	"sdw" => "application/vnd.stardivision.writer",
489
+	"vor" => "application/vnd.stardivision.writer",
490
+	"sgl" => "application/vnd.stardivision.writer-global",
491
+	"smzip" => "application/vnd.stepmania.package",
492
+	"sm" => "application/vnd.stepmania.stepchart",
493
+	"sxc" => "application/vnd.sun.xml.calc",
494
+	"stc" => "application/vnd.sun.xml.calc.template",
495
+	"sxd" => "application/vnd.sun.xml.draw",
496
+	"std" => "application/vnd.sun.xml.draw.template",
497
+	"sxi" => "application/vnd.sun.xml.impress",
498
+	"sti" => "application/vnd.sun.xml.impress.template",
499
+	"sxm" => "application/vnd.sun.xml.math",
500
+	"sxw" => "application/vnd.sun.xml.writer",
501
+	"sxg" => "application/vnd.sun.xml.writer.global",
502
+	"stw" => "application/vnd.sun.xml.writer.template",
503
+	"sus" => "application/vnd.sus-calendar",
504
+	"susp" => "application/vnd.sus-calendar",
505
+	"svd" => "application/vnd.svd",
506
+	"sis" => "application/vnd.symbian.install",
507
+	"sisx" => "application/vnd.symbian.install",
508
+	"xsm" => "application/vnd.syncml+xml",
509
+	"bdm" => "application/vnd.syncml.dm+wbxml",
510
+	"xdm" => "application/vnd.syncml.dm+xml",
511
+	"tao" => "application/vnd.tao.intent-module-archive",
512
+	"pcap" => "application/vnd.tcpdump.pcap",
513
+	"cap" => "application/vnd.tcpdump.pcap",
514
+	"dmp" => "application/vnd.tcpdump.pcap",
515
+	"tmo" => "application/vnd.tmobile-livetv",
516
+	"tpt" => "application/vnd.trid.tpt",
517
+	"mxs" => "application/vnd.triscape.mxs",
518
+	"tra" => "application/vnd.trueapp",
519
+	"ufd" => "application/vnd.ufdl",
520
+	"ufdl" => "application/vnd.ufdl",
521
+	"utz" => "application/vnd.uiq.theme",
522
+	"umj" => "application/vnd.umajin",
523
+	"unityweb" => "application/vnd.unity",
524
+	"uoml" => "application/vnd.uoml+xml",
525
+	"vcx" => "application/vnd.vcx",
526
+	"vsd" => "application/vnd.visio",
527
+	"vst" => "application/vnd.visio",
528
+	"vss" => "application/vnd.visio",
529
+	"vsw" => "application/vnd.visio",
530
+	"vis" => "application/vnd.visionary",
531
+	"vsf" => "application/vnd.vsf",
532
+	"wbxml" => "application/vnd.wap.wbxml",
533
+	"wmlc" => "application/vnd.wap.wmlc",
534
+	"wmlsc" => "application/vnd.wap.wmlscriptc",
535
+	"wtb" => "application/vnd.webturbo",
536
+	"nbp" => "application/vnd.wolfram.player",
537
+	"wpd" => "application/vnd.wordperfect",
538
+	"wqd" => "application/vnd.wqd",
539
+	"stf" => "application/vnd.wt.stf",
540
+	"xar" => "application/vnd.xara",
541
+	"xfdl" => "application/vnd.xfdl",
542
+	"hvd" => "application/vnd.yamaha.hv-dic",
543
+	"hvs" => "application/vnd.yamaha.hv-script",
544
+	"hvp" => "application/vnd.yamaha.hv-voice",
545
+	"osf" => "application/vnd.yamaha.openscoreformat",
546
+	"osfpvg" => "application/vnd.yamaha.openscoreformat.osfpvg+xml",
547
+	"saf" => "application/vnd.yamaha.smaf-audio",
548
+	"spf" => "application/vnd.yamaha.smaf-phrase",
549
+	"cmp" => "application/vnd.yellowriver-custom-menu",
550
+	"zir" => "application/vnd.zul",
551
+	"zirz" => "application/vnd.zul",
552
+	"zaz" => "application/vnd.zzazz.deck+xml",
553
+	"vxml" => "application/voicexml+xml",
554
+	"wgt" => "application/widget",
555
+	"hlp" => "application/winhlp",
556
+	"wsdl" => "application/wsdl+xml",
557
+	"wspolicy" => "application/wspolicy+xml",
558
+	"7z" => "application/x-7z-compressed",
559
+	"abw" => "application/x-abiword",
560
+	"ace" => "application/x-ace-compressed",
561
+	"dmg" => "application/x-apple-diskimage",
562
+	"aab" => "application/x-authorware-bin",
563
+	"x32" => "application/x-authorware-bin",
564
+	"u32" => "application/x-authorware-bin",
565
+	"vox" => "application/x-authorware-bin",
566
+	"aam" => "application/x-authorware-map",
567
+	"aas" => "application/x-authorware-seg",
568
+	"bcpio" => "application/x-bcpio",
569
+	"torrent" => "application/x-bittorrent",
570
+	"blb" => "application/x-blorb",
571
+	"blorb" => "application/x-blorb",
572
+	"bz" => "application/x-bzip",
573
+	"bz2" => "application/x-bzip2",
574
+	"boz" => "application/x-bzip2",
575
+	"cbr" => "application/x-cbr",
576
+	"cba" => "application/x-cbr",
577
+	"cbt" => "application/x-cbr",
578
+	"cbz" => "application/x-cbr",
579
+	"cb7" => "application/x-cbr",
580
+	"vcd" => "application/x-cdlink",
581
+	"cfs" => "application/x-cfs-compressed",
582
+	"chat" => "application/x-chat",
583
+	"pgn" => "application/x-chess-pgn",
584
+	"nsc" => "application/x-conference",
585
+	"cpio" => "application/x-cpio",
586
+	"csh" => "application/x-csh",
587
+	"deb" => "application/x-debian-package",
588
+	"udeb" => "application/x-debian-package",
589
+	"dgc" => "application/x-dgc-compressed",
590
+	"dir" => "application/x-director",
591
+	"dcr" => "application/x-director",
592
+	"dxr" => "application/x-director",
593
+	"cst" => "application/x-director",
594
+	"cct" => "application/x-director",
595
+	"cxt" => "application/x-director",
596
+	"w3d" => "application/x-director",
597
+	"fgd" => "application/x-director",
598
+	"swa" => "application/x-director",
599
+	"wad" => "application/x-doom",
600
+	"ncx" => "application/x-dtbncx+xml",
601
+	"dtb" => "application/x-dtbook+xml",
602
+	"res" => "application/x-dtbresource+xml",
603
+	"dvi" => "application/x-dvi",
604
+	"evy" => "application/x-envoy",
605
+	"eva" => "application/x-eva",
606
+	"bdf" => "application/x-font-bdf",
607
+	"gsf" => "application/x-font-ghostscript",
608
+	"psf" => "application/x-font-linux-psf",
609
+	"pcf" => "application/x-font-pcf",
610
+	"snf" => "application/x-font-snf",
611
+	"pfa" => "application/x-font-type1",
612
+	"pfb" => "application/x-font-type1",
613
+	"pfm" => "application/x-font-type1",
614
+	"afm" => "application/x-font-type1",
615
+	"arc" => "application/x-freearc",
616
+	"spl" => "application/x-futuresplash",
617
+	"gca" => "application/x-gca-compressed",
618
+	"ulx" => "application/x-glulx",
619
+	"gnumeric" => "application/x-gnumeric",
620
+	"gramps" => "application/x-gramps-xml",
621
+	"gtar" => "application/x-gtar",
622
+	"hdf" => "application/x-hdf",
623
+	"install" => "application/x-install-instructions",
624
+	"iso" => "application/x-iso9660-image",
625
+	"jnlp" => "application/x-java-jnlp-file",
626
+	"latex" => "application/x-latex",
627
+	"lzh" => "application/x-lzh-compressed",
628
+	"lha" => "application/x-lzh-compressed",
629
+	"mie" => "application/x-mie",
630
+	"prc" => "application/x-mobipocket-ebook",
631
+	"mobi" => "application/x-mobipocket-ebook",
632
+	"application" => "application/x-ms-application",
633
+	"lnk" => "application/x-ms-shortcut",
634
+	"wmd" => "application/x-ms-wmd",
635
+	"wmz" => "application/x-ms-wmz",
636
+	"xbap" => "application/x-ms-xbap",
637
+	"mdb" => "application/x-msaccess",
638
+	"obd" => "application/x-msbinder",
639
+	"crd" => "application/x-mscardfile",
640
+	"clp" => "application/x-msclip",
641
+	"exe" => "application/x-msdownload",
642
+	"dll" => "application/x-msdownload",
643
+	"com" => "application/x-msdownload",
644
+	"bat" => "application/x-msdownload",
645
+	"msi" => "application/x-msdownload",
646
+	"mvb" => "application/x-msmediaview",
647
+	"m13" => "application/x-msmediaview",
648
+	"m14" => "application/x-msmediaview",
649
+	"wmf" => "application/x-msmetafile",
650
+	"wmz" => "application/x-msmetafile",
651
+	"emf" => "application/x-msmetafile",
652
+	"emz" => "application/x-msmetafile",
653
+	"mny" => "application/x-msmoney",
654
+	"pub" => "application/x-mspublisher",
655
+	"scd" => "application/x-msschedule",
656
+	"trm" => "application/x-msterminal",
657
+	"wri" => "application/x-mswrite",
658
+	"nc" => "application/x-netcdf",
659
+	"cdf" => "application/x-netcdf",
660
+	"nzb" => "application/x-nzb",
661
+	"p12" => "application/x-pkcs12",
662
+	"pfx" => "application/x-pkcs12",
663
+	"p7b" => "application/x-pkcs7-certificates",
664
+	"spc" => "application/x-pkcs7-certificates",
665
+	"p7r" => "application/x-pkcs7-certreqresp",
666
+	"rar" => "application/x-rar-compressed",
667
+	"ris" => "application/x-research-info-systems",
668
+	"sh" => "application/x-sh",
669
+	"shar" => "application/x-shar",
670
+	"swf" => "application/x-shockwave-flash",
671
+	"xap" => "application/x-silverlight-app",
672
+	"sql" => "application/x-sql",
673
+	"sit" => "application/x-stuffit",
674
+	"sitx" => "application/x-stuffitx",
675
+	"srt" => "application/x-subrip",
676
+	"sv4cpio" => "application/x-sv4cpio",
677
+	"sv4crc" => "application/x-sv4crc",
678
+	"t3" => "application/x-t3vm-image",
679
+	"gam" => "application/x-tads",
680
+	"tar" => "application/x-tar",
681
+	"tcl" => "application/x-tcl",
682
+	"tex" => "application/x-tex",
683
+	"tfm" => "application/x-tex-tfm",
684
+	"texinfo" => "application/x-texinfo",
685
+	"texi" => "application/x-texinfo",
686
+	"obj" => "application/x-tgif",
687
+	"ustar" => "application/x-ustar",
688
+	"src" => "application/x-wais-source",
689
+	"der" => "application/x-x509-ca-cert",
690
+	"crt" => "application/x-x509-ca-cert",
691
+	"fig" => "application/x-xfig",
692
+	"xlf" => "application/x-xliff+xml",
693
+	"xpi" => "application/x-xpinstall",
694
+	"xz" => "application/x-xz",
695
+	"z1" => "application/x-zmachine",
696
+	"z2" => "application/x-zmachine",
697
+	"z3" => "application/x-zmachine",
698
+	"z4" => "application/x-zmachine",
699
+	"z5" => "application/x-zmachine",
700
+	"z6" => "application/x-zmachine",
701
+	"z7" => "application/x-zmachine",
702
+	"z8" => "application/x-zmachine",
703
+	"xaml" => "application/xaml+xml",
704
+	"xdf" => "application/xcap-diff+xml",
705
+	"xenc" => "application/xenc+xml",
706
+	"xhtml" => "application/xhtml+xml",
707
+	"xht" => "application/xhtml+xml",
708
+	"xml" => "application/xml",
709
+	"xsl" => "application/xml",
710
+	"dtd" => "application/xml-dtd",
711
+	"xop" => "application/xop+xml",
712
+	"xpl" => "application/xproc+xml",
713
+	"xslt" => "application/xslt+xml",
714
+	"xspf" => "application/xspf+xml",
715
+	"mxml" => "application/xv+xml",
716
+	"xhvml" => "application/xv+xml",
717
+	"xvml" => "application/xv+xml",
718
+	"xvm" => "application/xv+xml",
719
+	"yang" => "application/yang",
720
+	"yin" => "application/yin+xml",
721
+	"zip" => "application/zip",
722
+	"adp" => "audio/adpcm",
723
+	"au" => "audio/basic",
724
+	"snd" => "audio/basic",
725
+	"mid" => "audio/midi",
726
+	"midi" => "audio/midi",
727
+	"kar" => "audio/midi",
728
+	"rmi" => "audio/midi",
729
+	"m4a" => "audio/mp4",
730
+	"mp4a" => "audio/mp4",
731
+	"mpga" => "audio/mpeg",
732
+	"mp2" => "audio/mpeg",
733
+	"mp2a" => "audio/mpeg",
734
+	"mp3" => "audio/mpeg",
735
+	"m2a" => "audio/mpeg",
736
+	"m3a" => "audio/mpeg",
737
+	"oga" => "audio/ogg",
738
+	"ogg" => "audio/ogg",
739
+	"spx" => "audio/ogg",
740
+	"s3m" => "audio/s3m",
741
+	"sil" => "audio/silk",
742
+	"uva" => "audio/vnd.dece.audio",
743
+	"uvva" => "audio/vnd.dece.audio",
744
+	"eol" => "audio/vnd.digital-winds",
745
+	"dra" => "audio/vnd.dra",
746
+	"dts" => "audio/vnd.dts",
747
+	"dtshd" => "audio/vnd.dts.hd",
748
+	"lvp" => "audio/vnd.lucent.voice",
749
+	"pya" => "audio/vnd.ms-playready.media.pya",
750
+	"ecelp4800" => "audio/vnd.nuera.ecelp4800",
751
+	"ecelp7470" => "audio/vnd.nuera.ecelp7470",
752
+	"ecelp9600" => "audio/vnd.nuera.ecelp9600",
753
+	"rip" => "audio/vnd.rip",
754
+	"weba" => "audio/webm",
755
+	"aac" => "audio/x-aac",
756
+	"aif" => "audio/x-aiff",
757
+	"aiff" => "audio/x-aiff",
758
+	"aifc" => "audio/x-aiff",
759
+	"caf" => "audio/x-caf",
760
+	"flac" => "audio/x-flac",
761
+	"mka" => "audio/x-matroska",
762
+	"m3u" => "audio/x-mpegurl",
763
+	"wax" => "audio/x-ms-wax",
764
+	"wma" => "audio/x-ms-wma",
765
+	"ram" => "audio/x-pn-realaudio",
766
+	"ra" => "audio/x-pn-realaudio",
767
+	"rmp" => "audio/x-pn-realaudio-plugin",
768
+	"wav" => "audio/x-wav",
769
+	"xm" => "audio/xm",
770
+	"cdx" => "chemical/x-cdx",
771
+	"cif" => "chemical/x-cif",
772
+	"cmdf" => "chemical/x-cmdf",
773
+	"cml" => "chemical/x-cml",
774
+	"csml" => "chemical/x-csml",
775
+	"xyz" => "chemical/x-xyz",
776
+	"ttc" => "font/collection",
777
+	"otf" => "font/otf",
778
+	"ttf" => "font/ttf",
779
+	"woff" => "font/woff",
780
+	"woff2" => "font/woff2",
781
+	"bmp" => "image/bmp",
782
+	"cgm" => "image/cgm",
783
+	"g3" => "image/g3fax",
784
+	"gif" => "image/gif",
785
+	"ief" => "image/ief",
786
+	"jpeg" => "image/jpeg",
787
+	"jpg" => "image/jpeg",
788
+	"jpe" => "image/jpeg",
789
+	"ktx" => "image/ktx",
790
+	"png" => "image/png",
791
+	"btif" => "image/prs.btif",
792
+	"sgi" => "image/sgi",
793
+	"svg" => "image/svg+xml",
794
+	"svgz" => "image/svg+xml",
795
+	"tiff" => "image/tiff",
796
+	"tif" => "image/tiff",
797
+	"psd" => "image/vnd.adobe.photoshop",
798
+	"uvi" => "image/vnd.dece.graphic",
799
+	"uvvi" => "image/vnd.dece.graphic",
800
+	"uvg" => "image/vnd.dece.graphic",
801
+	"uvvg" => "image/vnd.dece.graphic",
802
+	"djvu" => "image/vnd.djvu",
803
+	"djv" => "image/vnd.djvu",
804
+	"sub" => "image/vnd.dvb.subtitle",
805
+	"dwg" => "image/vnd.dwg",
806
+	"dxf" => "image/vnd.dxf",
807
+	"fbs" => "image/vnd.fastbidsheet",
808
+	"fpx" => "image/vnd.fpx",
809
+	"fst" => "image/vnd.fst",
810
+	"mmr" => "image/vnd.fujixerox.edmics-mmr",
811
+	"rlc" => "image/vnd.fujixerox.edmics-rlc",
812
+	"mdi" => "image/vnd.ms-modi",
813
+	"wdp" => "image/vnd.ms-photo",
814
+	"npx" => "image/vnd.net-fpx",
815
+	"wbmp" => "image/vnd.wap.wbmp",
816
+	"xif" => "image/vnd.xiff",
817
+	"webp" => "image/webp",
818
+	"3ds" => "image/x-3ds",
819
+	"ras" => "image/x-cmu-raster",
820
+	"cmx" => "image/x-cmx",
821
+	"fh" => "image/x-freehand",
822
+	"fhc" => "image/x-freehand",
823
+	"fh4" => "image/x-freehand",
824
+	"fh5" => "image/x-freehand",
825
+	"fh7" => "image/x-freehand",
826
+	"ico" => "image/x-icon",
827
+	"sid" => "image/x-mrsid-image",
828
+	"pcx" => "image/x-pcx",
829
+	"pic" => "image/x-pict",
830
+	"pct" => "image/x-pict",
831
+	"pnm" => "image/x-portable-anymap",
832
+	"pbm" => "image/x-portable-bitmap",
833
+	"pgm" => "image/x-portable-graymap",
834
+	"ppm" => "image/x-portable-pixmap",
835
+	"rgb" => "image/x-rgb",
836
+	"tga" => "image/x-tga",
837
+	"xbm" => "image/x-xbitmap",
838
+	"xpm" => "image/x-xpixmap",
839
+	"xwd" => "image/x-xwindowdump",
840
+	"eml" => "message/rfc822",
841
+	"mime" => "message/rfc822",
842
+	"igs" => "model/iges",
843
+	"iges" => "model/iges",
844
+	"msh" => "model/mesh",
845
+	"mesh" => "model/mesh",
846
+	"silo" => "model/mesh",
847
+	"dae" => "model/vnd.collada+xml",
848
+	"dwf" => "model/vnd.dwf",
849
+	"gdl" => "model/vnd.gdl",
850
+	"gtw" => "model/vnd.gtw",
851
+	"mts" => "model/vnd.mts",
852
+	"vtu" => "model/vnd.vtu",
853
+	"wrl" => "model/vrml",
854
+	"vrml" => "model/vrml",
855
+	"x3db" => "model/x3d+binary",
856
+	"x3dbz" => "model/x3d+binary",
857
+	"x3dv" => "model/x3d+vrml",
858
+	"x3dvz" => "model/x3d+vrml",
859
+	"x3d" => "model/x3d+xml",
860
+	"x3dz" => "model/x3d+xml",
861
+	"appcache" => "text/cache-manifest",
862
+	"ics" => "text/calendar",
863
+	"ifb" => "text/calendar",
864
+	"css" => "text/css",
865
+	"csv" => "text/csv",
866
+	"html" => "text/html",
867
+	"htm" => "text/html",
868
+	"n3" => "text/n3",
869
+	"txt" => "text/plain",
870
+	"text" => "text/plain",
871
+	"conf" => "text/plain",
872
+	"def" => "text/plain",
873
+	"list" => "text/plain",
874
+	"log" => "text/plain",
875
+	"in" => "text/plain",
876
+	"dsc" => "text/prs.lines.tag",
877
+	"rtx" => "text/richtext",
878
+	"sgml" => "text/sgml",
879
+	"sgm" => "text/sgml",
880
+	"tsv" => "text/tab-separated-values",
881
+	"t" => "text/troff",
882
+	"tr" => "text/troff",
883
+	"roff" => "text/troff",
884
+	"man" => "text/troff",
885
+	"me" => "text/troff",
886
+	"ms" => "text/troff",
887
+	"ttl" => "text/turtle",
888
+	"uri" => "text/uri-list",
889
+	"uris" => "text/uri-list",
890
+	"urls" => "text/uri-list",
891
+	"vcard" => "text/vcard",
892
+	"curl" => "text/vnd.curl",
893
+	"dcurl" => "text/vnd.curl.dcurl",
894
+	"mcurl" => "text/vnd.curl.mcurl",
895
+	"scurl" => "text/vnd.curl.scurl",
896
+	"sub" => "text/vnd.dvb.subtitle",
897
+	"fly" => "text/vnd.fly",
898
+	"flx" => "text/vnd.fmi.flexstor",
899
+	"gv" => "text/vnd.graphviz",
900
+	"3dml" => "text/vnd.in3d.3dml",
901
+	"spot" => "text/vnd.in3d.spot",
902
+	"jad" => "text/vnd.sun.j2me.app-descriptor",
903
+	"wml" => "text/vnd.wap.wml",
904
+	"wmls" => "text/vnd.wap.wmlscript",
905
+	"s" => "text/x-asm",
906
+	"asm" => "text/x-asm",
907
+	"c" => "text/x-c",
908
+	"cc" => "text/x-c",
909
+	"cxx" => "text/x-c",
910
+	"cpp" => "text/x-c",
911
+	"h" => "text/x-c",
912
+	"hh" => "text/x-c",
913
+	"dic" => "text/x-c",
914
+	"f" => "text/x-fortran",
915
+	"for" => "text/x-fortran",
916
+	"f77" => "text/x-fortran",
917
+	"f90" => "text/x-fortran",
918
+	"java" => "text/x-java-source",
919
+	"nfo" => "text/x-nfo",
920
+	"opml" => "text/x-opml",
921
+	"p" => "text/x-pascal",
922
+	"pas" => "text/x-pascal",
923
+	"etx" => "text/x-setext",
924
+	"sfv" => "text/x-sfv",
925
+	"uu" => "text/x-uuencode",
926
+	"vcs" => "text/x-vcalendar",
927
+	"vcf" => "text/x-vcard",
928
+	"3gp" => "video/3gpp",
929
+	"3g2" => "video/3gpp2",
930
+	"h261" => "video/h261",
931
+	"h263" => "video/h263",
932
+	"h264" => "video/h264",
933
+	"jpgv" => "video/jpeg",
934
+	"jpm" => "video/jpm",
935
+	"jpgm" => "video/jpm",
936
+	"mj2" => "video/mj2",
937
+	"mjp2" => "video/mj2",
938
+	"mp4" => "video/mp4",
939
+	"mp4v" => "video/mp4",
940
+	"mpg4" => "video/mp4",
941
+	"mpeg" => "video/mpeg",
942
+	"mpg" => "video/mpeg",
943
+	"mpe" => "video/mpeg",
944
+	"m1v" => "video/mpeg",
945
+	"m2v" => "video/mpeg",
946
+	"ogv" => "video/ogg",
947
+	"qt" => "video/quicktime",
948
+	"mov" => "video/quicktime",
949
+	"uvh" => "video/vnd.dece.hd",
950
+	"uvvh" => "video/vnd.dece.hd",
951
+	"uvm" => "video/vnd.dece.mobile",
952
+	"uvvm" => "video/vnd.dece.mobile",
953
+	"uvp" => "video/vnd.dece.pd",
954
+	"uvvp" => "video/vnd.dece.pd",
955
+	"uvs" => "video/vnd.dece.sd",
956
+	"uvvs" => "video/vnd.dece.sd",
957
+	"uvv" => "video/vnd.dece.video",
958
+	"uvvv" => "video/vnd.dece.video",
959
+	"dvb" => "video/vnd.dvb.file",
960
+	"fvt" => "video/vnd.fvt",
961
+	"mxu" => "video/vnd.mpegurl",
962
+	"m4u" => "video/vnd.mpegurl",
963
+	"pyv" => "video/vnd.ms-playready.media.pyv",
964
+	"uvu" => "video/vnd.uvvu.mp4",
965
+	"uvvu" => "video/vnd.uvvu.mp4",
966
+	"viv" => "video/vnd.vivo",
967
+	"webm" => "video/webm",
968
+	"f4v" => "video/x-f4v",
969
+	"fli" => "video/x-fli",
970
+	"flv" => "video/x-flv",
971
+	"m4v" => "video/x-m4v",
972
+	"mkv" => "video/x-matroska",
973
+	"mk3d" => "video/x-matroska",
974
+	"mks" => "video/x-matroska",
975
+	"mng" => "video/x-mng",
976
+	"asf" => "video/x-ms-asf",
977
+	"asx" => "video/x-ms-asf",
978
+	"vob" => "video/x-ms-vob",
979
+	"wm" => "video/x-ms-wm",
980
+	"wmv" => "video/x-ms-wmv",
981
+	"wmx" => "video/x-ms-wmx",
982
+	"wvx" => "video/x-ms-wvx",
983
+	"avi" => "video/x-msvideo",
984
+	"movie" => "video/x-sgi-movie",
985
+	"smv" => "video/x-smv",
986
+	"ice" => "x-conference/x-cooltalk",
987
+]

+ 16
- 0
mimetype_tools/mimetypes2phparray.php View File

@@ -0,0 +1,16 @@
1
+<?php
2
+/*
3
+Make a PHP array from the mimetypes.csv file
4
+*/
5
+$file = file_get_contents("mimetypes.csv");
6
+$lines = explode("\n", $file);
7
+$output = "[\n";
8
+foreach ($lines as $l) {
9
+	$line = explode(",", $l);
10
+	for ($i = 1; $i < count($line); $i++) {
11
+		$output .= "\t\"" . $line[$i] . "\" => \"" . $line[0] . "\",\n";
12
+	}
13
+}
14
+$output .= "]";
15
+
16
+file_put_contents("mimetypes.php", $output);

Loading…
Cancel
Save