Content-Type大全

    1 .    <? php   
   
2 .    
   
3 .   $mimetypes   =   array (   
   
4 .       ' ez '          =>   ' application/andrew-inset ' ,    
   
5 .       ' hqx '          =>   ' application/mac-binhex40 ' ,    
   
6 .       ' cpt '          =>   ' application/mac-compactpro ' ,    
   
7 .       ' doc '          =>   ' application/msword ' ,    
   
8 .       ' bin '          =>   ' application/octet-stream ' ,    
   
9 .       ' dms '          =>   ' application/octet-stream ' ,    
  
10 .       ' lha '          =>   ' application/octet-stream ' ,    
  
11 .       ' lzh '          =>   ' application/octet-stream ' ,    
  
12 .       ' exe '          =>   ' application/octet-stream ' ,    
  
13 .       ' class '          =>   ' application/octet-stream ' ,    
  
14 .       ' so '          =>   ' application/octet-stream ' ,    
  
15 .       ' dll '          =>   ' application/octet-stream ' ,    
  
16 .       ' oda '          =>   ' application/oda ' ,    
  
17 .       ' pdf '          =>   ' application/pdf ' ,    
  
18 .       ' ai '          =>   ' application/postscript ' ,    
  
19 .       ' eps '          =>   ' application/postscript ' ,    
  
20 .       ' ps '          =>   ' application/postscript ' ,    
  
21 .       ' smi '          =>   ' application/smil ' ,    
  
22 .       ' smil '          =>   ' application/smil ' ,    
  
23 .       ' mif '          =>   ' application/vnd.mif ' ,    
  
24 .       ' xls '          =>   ' application/vnd.ms-excel ' ,    
  
25 .       ' ppt '          =>   ' application/vnd.ms-powerpoint ' ,    
  
26 .       ' wbxml '          =>   ' application/vnd.wap.wbxml ' ,    
  
27 .       ' wmlc '          =>   ' application/vnd.wap.wmlc ' ,    
  
28 .       ' wmlsc '          =>   ' application/vnd.wap.wmlscriptc ' ,    
  
29 .       ' bcpio '          =>   ' application/x-bcpio ' ,    
  
30 .       ' vcd '          =>   ' application/x-cdlink ' ,    
  
31 .       ' pgn '          =>   ' application/x-chess-pgn ' ,    
  
32 .       ' cpio '          =>   ' application/x-cpio ' ,    
  
33 .       ' csh '          =>   ' application/x-csh ' ,    
  
34 .       ' dcr '          =>   ' application/x-director ' ,    
  
35 .       ' dir '          =>   ' application/x-director ' ,    
  
36 .       ' dxr '          =>   ' application/x-director ' ,    
  
37 .       ' dvi '          =>   ' application/x-dvi ' ,    
  
38 .       ' spl '          =>   ' application/x-futuresplash ' ,    
  
39 .       ' gtar '          =>   ' application/x-gtar ' ,    
  
40 .       ' hdf '          =>   ' application/x-hdf ' ,    
  
41 .       ' js '          =>   ' application/x-javascript ' ,    
  
42 .       ' skp '          =>   ' application/x-koan ' ,    
  
43 .       ' skd '          =>   ' application/x-koan ' ,    
  
44 .       ' skt '          =>   ' application/x-koan ' ,    
  
45 .       ' skm '          =>   ' application/x-koan ' ,    
  
46 .       ' latex '          =>   ' application/x-latex ' ,    
  
47 .       ' nc '          =>   ' application/x-netcdf ' ,    
  
48 .       ' cdf '          =>   ' application/x-netcdf ' ,    
  
49 .       ' sh '          =>   ' application/x-sh ' ,    
  
50 .       ' shar '          =>   ' application/x-shar ' ,    
  
51 .       ' swf '          =>   ' application/x-shockwave-flash ' ,    
  
52 .       ' sit '          =>   ' application/x-stuffit ' ,    
  
53 .       ' sv4cpio '      =>   ' application/x-sv4cpio ' ,    
  
54 .       ' sv4crc '      =>   ' application/x-sv4crc ' ,    
  
55 .       ' tar '          =>   ' application/x-tar ' ,    
  
56 .       ' tcl '          =>   ' application/x-tcl ' ,    
  
57 .       ' tex '          =>   ' application/x-tex ' ,    
  
58 .       ' texinfo '      =>   ' application/x-texinfo ' ,    
  
59 .       ' texi '          =>   ' application/x-texinfo ' ,    
  
60 .       ' t '              =>   ' application/x-troff ' ,    
  
61 .       ' tr '          =>   ' application/x-troff ' ,    
  
62 .       ' roff '          =>   ' application/x-troff ' ,    
  
63 .       ' man '          =>   ' application/x-troff-man ' ,    
  
64 .       ' me '          =>   ' application/x-troff-me ' ,    
  
65 .       ' ms '          =>   ' application/x-troff-ms ' ,    
  
66 .       ' ustar '          =>   ' application/x-ustar ' ,    
  
67 .       ' src '          =>   ' application/x-wais-source ' ,    
  
68 .       ' xhtml '          =>   ' application/xhtml+xml ' ,    
  
69 .       ' xht '          =>   ' application/xhtml+xml ' ,    
  
70 .       ' zip '          =>   ' application/zip ' ,    
  
71 .       ' au '          =>   ' audio/basic ' ,    
  
72 .       ' snd '          =>   ' audio/basic ' ,    
  
73 .       ' mid '          =>   ' audio/midi ' ,    
  
74 .       ' midi '          =>   ' audio/midi ' ,    
  
75 .       ' kar '          =>   ' audio/midi ' ,    
  
76 .       ' mpga '          =>   ' audio/mpeg ' ,    
  
77 .       ' mp2 '          =>   ' audio/mpeg ' ,    
  
78 .       ' mp3 '          =>   ' audio/mpeg ' ,    
  
79 .       ' aif '          =>   ' audio/x-aiff ' ,    
  
80 .       ' aiff '          =>   ' audio/x-aiff ' ,    
  
81 .       ' aifc '          =>   ' audio/x-aiff ' ,    
  
82 .       ' m3u '          =>   ' audio/x-mpegurl ' ,    
  
83 .       ' ram '          =>   ' audio/x-pn-realaudio ' ,    
  
84 .       ' rm '          =>   ' audio/x-pn-realaudio ' ,    
  
85 .       ' rpm '          =>   ' audio/x-pn-realaudio-plugin ' ,    
  
86 .       ' ra '          =>   ' audio/x-realaudio ' ,    
  
87 .       ' wav '          =>   ' audio/x-wav ' ,    
  
88 .       ' pdb '          =>   ' chemical/x-pdb ' ,    
  
89 .       ' xyz '          =>   ' chemical/x-xyz ' ,    
  
90 .       ' bmp '          =>   ' image/bmp ' ,    
  
91 .       ' gif '          =>   ' image/gif ' ,    
  
92 .       ' ief '          =>   ' image/ief ' ,    
  
93 .       ' jpeg '          =>   ' image/jpeg ' ,    
  
94 .       ' jpg '          =>   ' image/jpeg ' ,    
  
95 .       ' jpe '          =>   ' image/jpeg ' ,    
  
96 .       ' png '          =>   ' image/png ' ,    
  
97 .       ' tiff '          =>   ' image/tiff ' ,    
  
98 .       ' tif '          =>   ' image/tiff ' ,    
  
99 .       ' djvu '          =>   ' image/vnd.djvu ' ,    
 
100 .       ' djv '          =>   ' image/vnd.djvu ' ,    
 
101 .       ' wbmp '          =>   ' image/vnd.wap.wbmp ' ,    
 
102 .       ' ras '          =>   ' image/x-cmu-raster ' ,    
 
103 .       ' pnm '          =>   ' image/x-portable-anymap ' ,    
 
104 .       ' pbm '          =>   ' image/x-portable-bitmap ' ,    
 
105 .       ' pgm '          =>   ' image/x-portable-graymap ' ,    
 
106 .       ' ppm '          =>   ' image/x-portable-pixmap ' ,    
 
107 .       ' rgb '          =>   ' image/x-rgb ' ,    
 
108 .       ' xbm '          =>   ' image/x-xbitmap ' ,    
 
109 .       ' xpm '          =>   ' image/x-xpixmap ' ,    
 
110 .       ' xwd '          =>   ' image/x-xwindowdump ' ,    
 
111 .       ' igs '          =>   ' model/iges ' ,    
 
112 .       ' iges '          =>   ' model/iges ' ,    
 
113 .       ' msh '          =>   ' model/mesh ' ,    
 
114 .       ' mesh '          =>   ' model/mesh ' ,    
 
115 .       ' silo '          =>   ' model/mesh ' ,    
 
116 .       ' wrl '          =>   ' model/vrml ' ,    
 
117 .       ' vrml '          =>   ' model/vrml ' ,    
 
118 .       ' css '          =>   ' text/css ' ,    
 
119 .       ' html '          =>   ' text/html ' ,    
 
120 .       ' htm '          =>   ' text/html ' ,    
 
121 .       ' asc '          =>   ' text/plain ' ,    
 
122 .       ' txt '          =>   ' text/plain ' ,    
 
123 .       ' rtx '          =>   ' text/richtext ' ,    
 
124 .       ' rtf '          =>   ' text/rtf ' ,    
 
125 .       ' sgml '          =>   ' text/sgml ' ,    
 
126 .       ' sgm '          =>   ' text/sgml ' ,    
 
127 .       ' tsv '          =>   ' text/tab-separated-values ' ,    
 
128 .       ' wml '          =>   ' text/vnd.wap.wml ' ,    
 
129 .       ' wmls '          =>   ' text/vnd.wap.wmlscript ' ,    
 
130 .       ' etx '          =>   ' text/x-setext ' ,    
 
131 .       ' xsl '          =>   ' text/xml ' ,    
 
132 .       ' xml '          =>   ' text/xml ' ,    
 
133 .       ' mpeg '          =>   ' video/mpeg ' ,    
 
134 .       ' mpg '          =>   ' video/mpeg ' ,    
 
135 .       ' mpe '          =>   ' video/mpeg ' ,    
 
136 .       ' qt '          =>   ' video/quicktime ' ,    
 
137 .       ' mov '          =>   ' video/quicktime ' ,    
 
138 .       ' mxu '          =>   ' video/vnd.mpegurl ' ,    
 
139 .       ' avi '          =>   ' video/x-msvideo ' ,    
 
140 .       ' movie '          =>   ' video/x-sgi-movie ' ,    
 
141 .       ' ice '          =>   ' x-conference/x-cooltalk ' ,    
 
142 .  );   
 
143 .    
 
144 .   ?>   

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值