forked from debuggable/php_arrays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mime_types.php
265 lines (265 loc) · 8.29 KB
/
mime_types.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<?php
/**
* @copyright http://www.mimetype.org/
* @link http://github.com/debuggable/php_arrays/tree
* @author Felix Geisendörfer ([email protected])
**/
$items = array(
'application/acad' => 'dwg',
'application/andrew-inset' => 'ez',
'application/clariscad' => 'ccad',
'application/drafting' => 'drw',
'application/dsptype' => 'tsp',
'application/dxf' => 'dxf',
'application/envoy' => 'evy',
'application/fractals' => 'fif',
'application/futuresplash' => 'spl',
'application/hta' => 'hta',
'application/i-deas' => 'unv',
'application/internet-property-stream' => 'acx',
'application/java-archive' => 'jar',
'application/mac-binhex40' => 'hqx',
'application/mac-compactpro' => 'cpt',
'application/msword' => 'doc',
'application/msword' => 'dot',
'application/octet-stream' => 'bin',
'application/octet-stream' => 'class',
'application/octet-stream' => 'dms',
'application/octet-stream' => 'exe',
'application/octet-stream' => 'lha',
'application/octet-stream' => 'lzh',
'application/oda' => 'oda',
'application/ogg' => 'ogm',
'application/olescript' => 'axs',
'application/pdf' => 'pdf',
'application/pgp' => 'pgp',
'application/pics-rules' => 'prf',
'application/pkcs10' => 'p10',
'application/pkix-crl' => 'crl',
'application/postscript' => 'ai',
'application/postscript' => 'eps',
'application/postscript' => 'ps',
'application/pro_eng' => 'prt',
'application/rtf' => 'rtf',
'application/set' => 'set',
'application/set-payment-initiation' => 'setpay',
'application/set-registration-initiation' => 'setreg',
'application/SLA' => 'stl',
'application/smil' => 'smil',
'application/solids' => 'sol',
'application/STEP' => 'stp',
'application/vda' => 'vda',
'application/vnd.ms-excel' => 'xla',
'application/vnd.ms-excel' => 'xlc',
'application/vnd.ms-excel' => 'xlm',
'application/vnd.ms-excel' => 'xls',
'application/vnd.ms-excel' => 'xlt',
'application/vnd.ms-excel' => 'xlw',
'application/vnd.ms-pkicertstore' => 'sst',
'application/vnd.ms-pkiseccat' => 'cat',
'application/vnd.ms-pkistl' => 'stl',
'application/vnd.ms-powerpoint' => 'pot',
'application/vnd.ms-powerpoint' => 'pps',
'application/vnd.ms-powerpoint' => 'ppt',
'application/vnd.ms-powerpoint' => 'ppz',
'application/vnd.ms-project' => 'mpp',
'application/vnd.ms-works' => 'wcm',
'application/vnd.ms-works' => 'wdb',
'application/vnd.ms-works' => 'wks',
'application/vnd.ms-works' => 'wps',
'application/vnd.rim.cod' => 'cod',
'application/winhlp' => 'hlp',
'application/x-arj-compressed' => 'arj',
'application/x-bcpio' => 'bcpio',
'application/x-cdf' => 'cdf',
'application/x-cdlink' => 'vcd',
'application/x-chess-pgn' => 'pgn',
'application/x-compress' => 'z',
'application/x-compressed' => 'tgz',
'application/x-cpio' => 'cpio',
'application/x-csh' => 'csh',
'application/x-debian-package' => 'deb',
'application/x-director' => 'dcr',
'application/x-director' => 'dir',
'application/x-director' => 'dxr',
'application/x-dvi' => 'dvi',
'application/x-freelance' => 'pre',
'application/x-futuresplash' => 'spl',
'application/x-gtar' => 'gtar',
'application/x-gzip' => 'gz',
'application/x-hdf' => 'hdf',
'application/x-internet-signup' => 'ins',
'application/x-internet-signup' => 'isp',
'application/x-iphone' => 'iii',
'application/x-ipix' => 'ipx',
'application/x-ipscript' => 'ips',
'application/x-javascript' => 'js',
'application/x-koan' => 'skt',
'application/x-latex' => 'latex',
'application/x-lisp' => 'lsp',
'application/x-lotusscreencam' => 'scm',
'application/x-mif' => 'mif',
'application/x-msaccess' => 'mdb',
'application/x-mscardfile' => 'crd',
'application/x-msclip' => 'clp',
'application/x-msdos-program' => 'com',
'application/x-msdownload' => 'dll',
'application/x-msmediaview' => 'm13',
'application/x-msmediaview' => 'm14',
'application/x-msmediaview' => 'mvb',
'application/x-msmetafile' => 'wmf',
'application/x-msmoney' => 'mny',
'application/x-mspublisher' => 'pub',
'application/x-msschedule' => 'scd',
'application/x-msterminal' => 'trm',
'application/x-mswrite' => 'wri',
'application/x-netcdf' => 'nc',
'application/x-perfmon' => 'pma',
'application/x-perfmon' => 'pmc',
'application/x-perfmon' => 'pml',
'application/x-perfmon' => 'pmr',
'application/x-perfmon' => 'pmw',
'application/x-perl' => 'pm',
'application/x-pkcs12' => 'p12',
'application/x-pkcs12' => 'pfx',
'application/x-pkcs7-certificates' => 'p7b',
'application/x-pkcs7-certificates' => 'spc',
'application/x-pkcs7-certreqresp' => 'p7r',
'application/x-pkcs7-mime' => 'p7c',
'application/x-pkcs7-mime' => 'p7m',
'application/x-pkcs7-signature' => 'p7s',
'application/x-rar-compressed' => 'rar',
'application/x-sh' => 'sh',
'application/x-shar' => 'shar',
'application/x-shockwave-flash' => 'swf',
'application/x-stuffit' => 'sit',
'application/x-sv4cpio' => 'sv4cpio',
'application/x-sv4crc' => 'sv4crc',
'application/x-tar' => 'tar',
'application/x-tar-gz' => 'tgz',
'application/x-tcl' => 'tcl',
'application/x-tex' => 'tex',
'application/x-texinfo' => 'texi',
'application/x-texinfo' => 'texinfo',
'application/x-troff' => 'roff',
'application/x-troff' => 't',
'application/x-troff' => 'tr',
'application/x-troff-man' => 'man',
'application/x-troff-me' => 'me',
'application/x-troff-ms' => 'ms',
'application/x-ustar' => 'ustar',
'application/x-wais-source' => 'src',
'application/x-x509-ca-cert' => 'cer',
'application/x-x509-ca-cert' => 'crt',
'application/x-x509-ca-cert' => 'der',
'application/ynd.ms-pkipko' => 'pko',
'application/zip' => 'zip',
'audio/basic' => 'au',
'audio/basic' => 'snd',
'audio/mid' => 'mid',
'audio/mid' => 'rmi',
'audio/midi' => 'midi',
'audio/mpeg' => 'mp3',
'audio/mpeg' => 'mpga',
'audio/TSP-audio' => 'tsi',
'audio/ulaw' => 'au',
'audio/x-aiff' => 'aif',
'audio/x-aiff' => 'aifc',
'audio/x-aiff' => 'aiff',
'audio/x-mpegurl' => 'm3u',
'audio/x-ms-wax' => 'wax',
'audio/x-ms-wma' => 'wma',
'audio/x-pn-realaudio' => 'ra',
'audio/x-pn-realaudio' => 'ram',
'audio/x-pn-realaudio' => 'rm',
'audio/x-pn-realaudio-plugin' => 'rpm',
'audio/x-realaudio' => 'ra',
'audio/x-wav' => 'wav',
'chemical/x-pdb' => 'xyz',
'image/bmp' => 'bmp',
'image/cis-cod' => 'cod',
'image/gif' => 'gif',
'image/ief' => 'ief',
'image/jpeg' => 'jpe',
'image/jpeg' => 'jpeg',
'image/jpeg' => 'jpg',
'image/pipeg' => 'jfif',
'image/png' => 'png',
'image/svg+xml' => 'svg',
'image/tiff' => 'tif',
'image/tiff' => 'tiff',
'image/x-cmu-raster' => 'ras',
'image/x-cmx' => 'cmx',
'image/x-icon' => 'ico',
'image/x-portable-anymap' => 'pnm',
'image/x-portable-bitmap' => 'pbm',
'image/x-portable-graymap' => 'pgm',
'image/x-portable-pixmap' => 'ppm',
'image/x-rgb' => 'rgb',
'image/x-xbitmap' => 'xbm',
'image/x-xpixmap' => 'xpm',
'image/x-xwindowdump' => 'xwd',
'message/rfc822' => 'mht',
'message/rfc822' => 'mhtml',
'message/rfc822' => 'nws',
'model/iges' => 'igs',
'model/mesh' => 'silo',
'model/vrml' => 'wrl',
'text/css' => 'css',
'text/h323' => '323',
'text/html' => 'htm',
'text/html' => 'html',
'text/html' => 'stm',
'text/iuls' => 'uls',
'text/plain' => 'bas',
'text/plain' => 'c',
'text/plain' => 'h',
'text/plain' => 'm',
'text/plain' => 'txt',
'text/richtext' => 'rtx',
'text/rtf' => 'rtf',
'text/scriptlet' => 'sct',
'text/sgml' => 'sgml',
'text/tab-separated-values' => 'tsv',
'text/vnd.sun.j2me.app-descriptor' => 'jad',
'text/webviewhtml' => 'htt',
'text/x-component' => 'htc',
'text/x-setext' => 'etx',
'text/x-vcard' => 'vcf',
'text/xml' => 'xml',
'video/dl' => 'dl',
'video/flv' => 'flv',
'video/gl' => 'gl',
'video/mpeg' => 'mp2',
'video/mpeg' => 'mpa',
'video/mpeg' => 'mpe',
'video/mpeg' => 'mpeg',
'video/mpeg' => 'mpg',
'video/mpeg' => 'mpv2',
'video/quicktime' => 'mov',
'video/quicktime' => 'qt',
'video/vnd.vivo' => 'vivo',
'video/x-fli' => 'fli',
'video/x-la-asf' => 'lsf',
'video/x-la-asf' => 'lsx',
'video/x-ms-asf' => 'asf',
'video/x-ms-asf' => 'asr',
'video/x-ms-asf' => 'asx',
'video/x-ms-asx' => 'asx',
'video/x-ms-wmv' => 'wmv',
'video/x-ms-wmx' => 'wmx',
'video/x-ms-wvx' => 'wvx',
'video/x-msvideo' => 'avi',
'video/x-sgi-movie' => 'movie',
'www/mime' => 'mime',
'x-conference/x-cooltalk' => 'ice',
'x-world/x-vrml' => 'flr',
'x-world/x-vrml' => 'vrm',
'x-world/x-vrml' => 'vrml',
'x-world/x-vrml' => 'wrl',
'x-world/x-vrml' => 'wrz',
'x-world/x-vrml' => 'xaf',
'x-world/x-vrml' => 'xof',
'zip' => 'application/zip',
);
?>