-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmimes.php
40 lines (39 loc) · 995 Bytes
/
mimes.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
<?php
$mimes = array(
'txt' => 'text/plain',
'asf' => 'video/x-ms-asf',
'asr' => 'video/x-ms-asf',
'asx' => 'video/x-ms-asf',
'avi' => 'video/x-msvideo',
'gif' => 'image/gif',
'ico' => 'image/x-icon',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'png' => 'image/png',
'svg' => 'image/svg+xml',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'swf' => 'application/x-shockwave-flash',
'flv' => 'video/x-flv',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'qt' => 'video/quicktime',
'mp2' => 'video/mpeg',
'mp3' => 'audio/mpeg',
'mpa' => 'video/mpeg',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpv2' => 'video/mpeg',
'mp4' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'html' => 'text/html',
'htm' => 'text/html',
'css' => 'text/css',
'js' => 'text/javascript',
'xml' => 'application/xml',
'xhtml' => 'application/xml',
'htc' => 'text/x-component', // HTML controls for IE
'zip' => 'application/zip'
);