php上传文件类型 mime类型大全

<p>想要做个只能上传图片,flash跟压缩文件的效果,搞了半天不知道怎么做,google一下把所有的mime类型复制了下来,以后直接到这里看就好了。<br /> 发现两个错误:<br /> <b>mime错误<br /> ZIP的MIME类型用application/x-zip-compressed<br /> RAR的MIME类型用application/octet-stream</b><br /> <br /> <br /> php上传文件类型 mime类型大全<br /> <br /> 123 application/vnd.lotus-1-2-3<br /> 3gp video/3gpp<br /> aab application/x-authoware-bin<br /> aam application/x-authoware-map<br /> aas application/x-authoware-seg<br /> ai application/postscript<br /> aif audio/x-aiff<br /> aifc audio/x-aiff<br /> aiff audio/x-aiff<br /> als audio/X-Alpha5<br /> amc application/x-mpeg<br /> ani application/octet-stream<br /> asc text/plain<br /> asd application/astound<br /> asf video/x-ms-asf<br /> asn application/astound<br /> asp application/x-asap<br /> asx video/x-ms-asf<br /> au audio/basic<br /> avb application/octet-stream<br /> avi video/x-msvideo<br /> awb audio/amr-wb<br /> bcpio application/x-bcpio<br /> bin application/octet-stream<br /> bld application/bld<br /> bld2 application/bld2<br /> bmp application/x-MS-bmp<br /> bpk application/octet-stream<br /> bz2 application/x-bzip2<br /> cal image/x-cals<br /> ccn application/x-cnc<br /> cco application/x-cocoa<br /> cdf application/x-netcdf<br /> cgi magnus-internal/cgi<br /> chat application/x-chat<br /> class application/octet-stream<br /> clp application/x-msclip<br /> cmx application/x-cmx<br /> co application/x-cult3d-object<br /> cod image/cis-cod<br /> cpio application/x-cpio<br /> cpt application/mac-compactpro<br /> crd application/x-mscardfile<br /> csh application/x-csh<br /> csm chemical/x-csml<br /> csml chemical/x-csml<br /> css text/css<br /> cur application/octet-stream<br /> dcm x-lml/x-evm<br /> dcr application/x-director<br /> dcx image/x-dcx<br /> dhtml text/html<br /> dir application/x-director<br /> dll application/octet-stream<br /> dmg application/octet-stream<br /> dms application/octet-stream<br /> doc application/msword<br /> dot application/x-dot<br /> dvi application/x-dvi<br /> dwf drawing/x-dwf<br /> dwg application/x-autocad<br /> dxf application/x-autocad<br /> dxr application/x-director<br /> ebk application/x-expandedbook<br /> emb chemical/x-embl-dl-nucleotide<br /> embl chemical/x-embl-dl-nucleotide<br /> eps application/postscript<br /> eri image/x-eri<br /> es audio/echospeech<br /> esl audio/echospeech<br /> etc application/x-earthtime<br /> etx text/x-setext<br /> evm x-lml/x-evm<br /> evy application/x-envoy<br /> exe application/octet-stream<br /> fh4 image/x-freehand<br /> fh5 image/x-freehand<br /> fhc image/x-freehand<br /> fif image/fif<br /> fm application/x-maker<br /> fpx image/x-fpx<br /> fvi video/isivideo<br /> gau chemical/x-gaussian-input<br /> gca application/x-gca-compressed<br /> gdb x-lml/x-gdb<br /> gif image/gif<br /> gps application/x-gps<br /> gtar application/x-gtar<br /> gz application/x-gzip<br /> hdf application/x-hdf<br /> hdm text/x-hdml<br /> hdml text/x-hdml<br /> hlp application/winhlp<br /> hqx application/mac-binhex40<br /> htm text/html<br /> html text/html<br /> hts text/html<br /> ice x-conference/x-cooltalk<br /> ico application/octet-stream<br /> ief image/ief<br /> ifm image/gif<br /> ifs image/ifs<br /> imy audio/melody<br /> ins application/x-NET-Install<br /> ips application/x-ipscript<br /> ipx application/x-ipix<br /> it audio/x-mod<br /> itz audio/x-mod<br /> ivr i-world/i-vrml<br /> j2k image/j2k<br /> jad text/vnd.sun.j2me.app-descriptor<br /> jam application/x-jam<br /> jar application/java-archive<br /> jnlp application/x-java-jnlp-file<br /> jpe image/jpeg<br /> jpeg image/jpeg<br /> jpg image/jpeg<br /> jpz image/jpeg<br /> js application/x-javascript<br /> jwc application/jwc<br /> kjx application/x-kjx<br /> lak x-lml/x-lak<br /> latex application/x-latex<br /> lcc application/fastman<br /> lcl application/x-digitalloca<br /> lcr application/x-digitalloca<br /> lgh application/lgh<br /> lha application/octet-stream<br /> lml x-lml/x-lml<br /> lmlpack x-lml/x-lmlpack<br /> lsf video/x-ms-asf<br /> lsx video/x-ms-asf<br /> lzh application/x-lzh<br /> m13 application/x-msmediaview<br /> m14 application/x-msmediaview<br /> m15 audio/x-mod<br /> m3u audio/x-mpegurl<br /> m3url audio/x-mpegurl<br /> ma1 audio/ma1<br /> ma2 audio/ma2<br /> ma3 audio/ma3<br /> ma5 audio/ma5<br /> man application/x-troff-man<br /> map magnus-internal/imagemap<br /> mbd application/mbedlet<br /> mct application/x-mascot<br /> mdb application/x-msaccess<br /> mdz audio/x-mod<br /> me application/x-troff-me<br /> mel text/x-vmel<br /> mi application/x-mif<br /> mid audio/midi<br /> midi audio/midi<br /> mif application/x-mif<br /> mil image/x-cals<br /> mio audio/x-mio<br /> mmf application/x-skt-lbs<br /> mng video/x-mng<br /> mny application/x-msmoney<br /> moc application/x-mocha<br /> mocha application/x-mocha<br /> mod audio/x-mod<br /> mof application/x-yumekara<br /> mol chemical/x-mdl-molfile<br /> mop chemical/x-mopac-input<br /> mov video/quicktime<br /> movie video/x-sgi-movie<br /> mp2 audio/x-mpeg<br /> mp3 audio/x-mpeg<br /> mp4 video/mp4<br /> mpc application/vnd.mpohun.certificate<br /> mpe video/mpeg<br /> mpeg video/mpeg<br /> mpg video/mpeg<br /> mpg4 video/mp4<br /> mpga audio/mpeg<br /> mpn application/vnd.mophun.application<br /> mpp application/vnd.ms-project<br /> mps application/x-mapserver<br /> mrl text/x-mrml<br /> mrm application/x-mrm<br /> ms application/x-troff-ms<br /> mts application/metastream<br /> mtx application/metastream<br /> mtz application/metastream<br /> mzv application/metastream<br /> nar application/zip<br /> nbmp image/nbmp<br /> nc application/x-netcdf<br /> ndb x-lml/x-ndb<br /> ndwn application/ndwn<br /> nif application/x-nif<br /> nmz application/x-scream<br /> nokia-op-logo image/vnd.nok-oplogo-color<br /> npx application/x-netfpx<br /> nsnd audio/nsnd<br /> nva application/x-neva1<br /> oda application/oda<br /> oom application/x-AtlasMate-Plugin<br /> pac audio/x-pac<br /> pae audio/x-epac<br /> pan application/x-pan<br /> pbm image/x-portable-bitmap<br /> pcx image/x-pcx<br /> pda image/x-pda<br /> pdb chemical/x-pdb<br /> pdf application/pdf<br /> pfr application/font-tdpfr<br /> pgm image/x-portable-graymap<br /> pict image/x-pict<br /> pm application/x-perl<br /> pmd application/x-pmd<br /> png image/png<br /> pnm image/x-portable-anymap<br /> pnz image/png<br /> pot application/vnd.ms-powerpoint<br /> ppm image/x-portable-pixmap<br /> pps application/vnd.ms-powerpoint<br /> ppt application/vnd.ms-powerpoint<br /> pqf application/x-cprplayer<br /> pqi application/cprplayer<br /> prc application/x-prc<br /> proxy application/x-ns-proxy-autoconfig<br /> ps application/postscript<br /> ptlk application/listenup<br /> pub application/x-mspublisher<br /> pvx video/x-pv-pvx<br /> qcp audio/vnd.qcelp<br /> qt video/quicktime<br /> qti image/x-quicktime<br /> qtif image/x-quicktime<br /> r3t text/vnd.rn-realtext3d<br /> ra audio/x-pn-realaudio<br /> ram audio/x-pn-realaudio<br /> rar application/x-rar-compressed<br /> ras image/x-cmu-raster<br /> rdf application/rdf+xml<br /> rf image/vnd.rn-realflash<br /> rgb image/x-rgb<br /> rlf application/x-richlink<br /> rm audio/x-pn-realaudio<br /> rmf audio/x-rmf<br /> rmm audio/x-pn-realaudio<br /> rmvb audio/x-pn-realaudio<br /> rnx application/vnd.rn-realplayer<br /> roff application/x-troff<br /> rp image/vnd.rn-realpix<br /> rpm audio/x-pn-realaudio-plugin<br /> rt text/vnd.rn-realtext<br /> rte x-lml/x-gps<br /> rtf application/rtf<br /> rtg application/metastream<br /> rtx text/richtext<br /> rv video/vnd.rn-realvideo<br /> rwc application/x-rogerwilco<br /> s3m audio/x-mod<br /> s3z audio/x-mod<br /> sca application/x-supercard<br /> scd application/x-msschedule<br /> sdf application/e-score<br /> sea application/x-stuffit<br /> sgm text/x-sgml<br /> sgml text/x-sgml<br /> sh application/x-sh<br /> shar application/x-shar<br /> shtml magnus-internal/parsed-html<br /> shw application/presentations<br /> si6 image/si6<br /> si7 image/vnd.stiwap.sis<br /> si9 image/vnd.lgtwap.sis<br /> sis application/vnd.symbian.install<br /> sit application/x-stuffit<br /> skd application/x-Koan<br /> skm application/x-Koan<br /> skp application/x-Koan<br /> skt application/x-Koan<br /> slc application/x-salsa<br /> smd audio/x-smd<br /> smi application/smil<br /> smil application/smil<br /> smp application/studiom<br /> smz audio/x-smd<br /> snd audio/basic<br /> spc text/x-speech<br /> spl application/futuresplash<br /> spr application/x-sprite<br /> sprite application/x-sprite<br /> spt application/x-spt<br /> src application/x-wais-source<br /> stk application/hyperstudio<br /> stm audio/x-mod<br /> sv4cpio application/x-sv4cpio<br /> sv4crc application/x-sv4crc<br /> svf image/vnd<br /> svg image/svg-xml<br /> svh image/svh<br /> svr x-world/x-svr<br /> swf application/x-shockwave-flash<br /> swfl application/x-shockwave-flash<br /> t application/x-troff<br /> tad application/octet-stream<br /> talk text/x-speech<br /> tar application/x-tar<br /> taz application/x-tar<br /> tbp application/x-timbuktu<br /> tbt application/x-timbuktu<br /> tcl application/x-tcl<br /> tex application/x-tex<br /> texi application/x-texinfo<br /> texinfo application/x-texinfo<br /> tgz application/x-tar<br /> thm application/vnd.eri.thm<br /> tif image/tiff<br /> tiff image/tiff<br /> tki application/x-tkined<br /> tkined application/x-tkined<br /> toc application/toc<br /> toy image/toy<br /> tr application/x-troff<br /> trk x-lml/x-gps<br /> trm application/x-msterminal<br /> tsi audio/tsplayer<br /> tsp application/dsptype<br /> tsv text/tab-separated-values<br /> tsv text/tab-separated-values<br /> ttf application/octet-stream<br /> ttz application/t-time<br /> txt text/plain<br /> ult audio/x-mod<br /> ustar application/x-ustar<br /> uu application/x-uuencode<br /> uue application/x-uuencode<br /> vcd application/x-cdlink<br /> vcf text/x-vcard<br /> vdo video/vdo<br /> vib audio/vib<br /> viv video/vivo<br /> vivo video/vivo<br /> vmd application/vocaltec-media-desc<br /> vmf application/vocaltec-media-file<br /> vmi application/x-dreamcast-vms-info<br /> vms application/x-dreamcast-vms<br /> vox audio/voxware<br /> vqe audio/x-twinvq-plugin<br /> vqf audio/x-twinvq<br /> vql audio/x-twinvq<br /> vre x-world/x-vream<br /> vrml x-world/x-vrml<br /> vrt x-world/x-vrt<br /> vrw x-world/x-vream<br /> vts workbook/formulaone<br /> wav audio/x-wav<br /> wax audio/x-ms-wax<br /> wbmp image/vnd.wap.wbmp<br /> web application/vnd.xara<br /> wi image/wavelet<br /> wis application/x-InstallShield<br /> wm video/x-ms-wm<br /> wma audio/x-ms-wma<br /> wmd application/x-ms-wmd<br /> wmf application/x-msmetafile<br /> wml text/vnd.wap.wml<br /> wmlc application/vnd.wap.wmlc<br /> wmls text/vnd.wap.wmlscript<br /> wmlsc application/vnd.wap.wmlscriptc<br /> wmlscript text/vnd.wap.wmlscript<br /> wmv audio/x-ms-wmv<br /> wmx video/x-ms-wmx<br /> wmz application/x-ms-wmz<br /> wpng image/x-up-wpng<br /> wpt x-lml/x-gps<br /> wri application/x-mswrite<br /> wrl x-world/x-vrml<br /> wrz x-world/x-vrml<br /> ws text/vnd.wap.wmlscript<br /> wsc application/vnd.wap.wmlscriptc<br /> wv video/wavelet<br /> wvx video/x-ms-wvx<br /> wxl application/x-wxl<br /> x-gzip application/x-gzip<br /> xar application/vnd.xara<br /> xbm image/x-xbitmap<br /> xdm application/x-xdma<br /> xdma application/x-xdma<br /> xdw application/vnd.fujixerox.docuworks<br /> xht application/xhtml+xml<br /> xhtm application/xhtml+xml<br /> xhtml application/xhtml+xml<br /> xla application/vnd.ms-excel<br /> xlc application/vnd.ms-excel<br /> xll application/x-excel<br /> xlm application/vnd.ms-excel<br /> xls application/vnd.ms-excel<br /> xlt application/vnd.ms-excel<br /> xlw application/vnd.ms-excel<br /> xm audio/x-mod<br /> xml text/xml<br /> xmz audio/x-mod<br /> xpi application/x-xpinstall<br /> xpm image/x-xpixmap<br /> xsit text/xml<br /> xsl text/xml<br /> xul text/xul<br /> xwd image/x-xwindowdump<br /> xyz chemical/x-pdb<br /> yz1 application/x-yz1<br /> z application/x-compress<br /> zac application/x-zaurus-zac<br /> zip application/zip</p>
RangeTime:0.009760s
RangeMem:219.59 KB
返回顶部 留言