常用mimetype列表

文章转自:

http://blog.csdn.net/alin0725/archive/2007/04/08/1556481.aspx

好像excle的应该为:

application/vnd.ms-excel

<?php
$mimetypelist["csm"] = "application/cu-seeme";
$mimetypelist["cu"] = "application/cu-seeme";
$mimetypelist["tsp"] = "application/dsptype";
$mimetypelist["xls"] = "application/excel";
$mimetypelist["spl"] = "application/futuresplash";
$mimetypelist["hqx"] = "application/mac-binhex40";
$mimetypelist["doc"] = "application/msword";
$mimetypelist["dot"] = "application/msword";
$mimetypelist["bin"] = "application/octet-stream";
$mimetypelist["oda"] = "application/oda";
$mimetypelist["pdf"] = "application/pdf";
$mimetypelist["pgp"] = "application/pgp-signature";
$mimetypelist["ps"] = "application/postscript";
$mimetypelist["ai"] = "application/postscript";
$mimetypelist["eps"] = "application/postscript";
$mimetypelist["ppt"] = "application/powerpoint";
$mimetypelist["rtf"] = "application/rtf";
$mimetypelist["wp5"] = "application/wordperfect5.1";
$mimetypelist["zip"] = "application/zip";
$mimetypelist["wk"] = "application/x-123";
$mimetypelist["bcpio"] = "application/x-bcpio";
$mimetypelist["pgn"] = "application/x-chess-pgn";
$mimetypelist["cpio"] = "application/x-cpio";
$mimetypelist["deb"] = "application/x-debian-package";
$mimetypelist["dcr"] = "application/x-director";
$mimetypelist["dir"] = "application/x-director";
$mimetypelist["dxr"] = "application/x-director";
$mimetypelist["dvi"] = "application/x-dvi";
$mimetypelist["pfa"] = "application/x-font";
$mimetypelist["pfb"] = "application/x-font";
$mimetypelist["gsf"] = "application/x-font";
$mimetypelist["pcf"] = "application/x-font";
$mimetypelist["pcf.Z"] = "application/x-font";
$mimetypelist["gtar"] = "application/x-gtar";
$mimetypelist["tgz"] = "application/x-gtar";
$mimetypelist["hdf"] = "application/x-hdf";
$mimetypelist["phtml"] = "application/x-httpd-php";
$mimetypelist["pht"] = "application/x-httpd-php";
$mimetypelist["php"] = "application/x-httpd-php";
$mimetypelist["php3"] = "application/x-httpd-php3";
$mimetypelist["phps"] = "application/x-httpd-php3-source";
$mimetypelist["php3p"] = "application/x-httpd-php3-preprocessed";
$mimetypelist["class"] = "application/x-java";
$mimetypelist["latex"] = "application/x-latex";
$mimetypelist["frm"] = "application/x-maker";
$mimetypelist["maker"] = "application/x-maker";
$mimetypelist["frame"] = "application/x-maker";
$mimetypelist["fm"] = "application/x-maker";
$mimetypelist["fb"] = "application/x-maker";
$mimetypelist["book"] = "application/x-maker";
$mimetypelist["fbdoc"] = "application/x-maker";
$mimetypelist["mif"] = "application/x-mif";
$mimetypelist["com"] = "application/x-msdos-program";
$mimetypelist["exe"] = "application/x-msdos-program";
$mimetypelist["bat"] = "application/x-msdos-program";
$mimetypelist["dll"] = "application/x-msdos-program";
$mimetypelist["nc"] = "application/x-netcdf";
$mimetypelist["cdf"] = "application/x-netcdf";
$mimetypelist["pac"] = "application/x-ns-proxy-autoconfig";
$mimetypelist["o"] = "application/x-object";
$mimetypelist["pl"] = "application/x-perl";
$mimetypelist["pm"] = "application/x-perl";
$mimetypelist["shar"] = "application/x-shar";
$mimetypelist["swf"] = "application/x-shockwave-flash";
$mimetypelist["swfl"] = "application/x-shockwave-flash";
$mimetypelist["sit"] = "application/x-stuffit";
$mimetypelist["sv4cpio"] = "application/x-sv4cpio";
$mimetypelist["sv4crc"] = "application/x-sv4crc";
$mimetypelist["tar"] = "application/x-tar";
$mimetypelist["gf"] = "application/x-tex-gf";
$mimetypelist["pk"] = "application/x-tex-pk";
$mimetypelist["PK"] = "application/x-tex-pk";
$mimetypelist["texinfo"] = "application/x-texinfo";
$mimetypelist["texi"] = "application/x-texinfo";
$mimetypelist["~"] = "application/x-trash";
$mimetypelist["%"] = "application/x-trash";
$mimetypelist["bak"] = "application/x-trash";
$mimetypelist["old"] = "application/x-trash";
$mimetypelist["sik"] = "application/x-trash";
$mimetypelist["t"] = "application/x-troff";
$mimetypelist["tr"] = "application/x-troff";
$mimetypelist["roff"] = "application/x-troff";
$mimetypelist["man"] = "application/x-troff-man";
$mimetypelist["me"] = "application/x-troff-me";
$mimetypelist["ms"] = "application/x-troff-ms";
$mimetypelist["ustar"] = "application/x-ustar";
$mimetypelist["src"] = "application/x-wais-source";
$mimetypelist["wz"] = "application/x-wingz";
$mimetypelist["au"] = "audio/basic";
$mimetypelist["snd"] = "audio/basic";
$mimetypelist["mid"] = "audio/midi";
$mimetypelist["midi"] = "audio/midi";
$mimetypelist["mpga"] = "audio/mpeg";
$mimetypelist["mpega"] = "audio/mpeg";
$mimetypelist["mp2"] = "audio/mpeg";
$mimetypelist["mp3"] = "audio/mpeg";
$mimetypelist["m3u"] = "audio/mpegurl";
$mimetypelist["aif"] = "audio/x-aiff";
$mimetypelist["aiff"] = "audio/x-aiff";
$mimetypelist["aifc"] = "audio/x-aiff";
$mimetypelist["gsm"] = "audio/x-gsm";
$mimetypelist["ra"] = "audio/x-pn-realaudio";
$mimetypelist["rm"] = "audio/x-pn-realaudio";
$mimetypelist["ram"] = "audio/x-pn-realaudio";
$mimetypelist["rpm"] = "audio/x-pn-realaudio-plugin";
$mimetypelist["wav"] = "audio/x-wav";
$mimetypelist["gif"] = "image/gif";
$mimetypelist["ief"] = "image/ief";
$mimetypelist["jpeg"] = "image/jpeg";
$mimetypelist["jpg"] = "image/jpeg";
$mimetypelist["jpe"] = "image/jpeg";
$mimetypelist["png"] = "image/png";
$mimetypelist["tiff"] = "image/tiff";
$mimetypelist["tif"] = "image/tiff";
$mimetypelist["ras"] = "image/x-cmu-raster";
$mimetypelist["bmp"] = "image/x-ms-bmp";
$mimetypelist["pnm"] = "image/x-portable-anymap";
$mimetypelist["pbm"] = "image/x-portable-bitmap";
$mimetypelist["pgm"] = "image/x-portable-graymap";
$mimetypelist["ppm"] = "image/x-portable-pixmap";
$mimetypelist["rgb"] = "image/x-rgb";
$mimetypelist["xbm"] = "image/x-xbitmap";
$mimetypelist["xpm"] = "image/x-xpixmap";
$mimetypelist["xwd"] = "image/x-xwindowdump";
$mimetypelist["csv"] = "text/comma-separated-values";
$mimetypelist["html"] = "text/html";
$mimetypelist["htm"] = "text/html";
$mimetypelist["mml"] = "text/mathml";
$mimetypelist["txt"] = "text/plain";
$mimetypelist["rtx"] = "text/richtext";
$mimetypelist["tsv"] = "text/tab-separated-values";
$mimetypelist["h++"] = "text/x-c++hdr";
$mimetypelist["hpp"] = "text/x-c++hdr";
$mimetypelist["hxx"] = "text/x-c++hdr";
$mimetypelist["hh"] = "text/x-c++hdr";
$mimetypelist["c++"] = "text/x-c++src";
$mimetypelist["cpp"] = "text/x-c++src";
$mimetypelist["cxx"] = "text/x-c++src";
$mimetypelist["cc"] = "text/x-c++src";
$mimetypelist["h"] = "text/x-chdr";
$mimetypelist["csh"] = "text/x-csh";
$mimetypelist["c"] = "text/x-csrc";
$mimetypelist["java"] = "text/x-java";
$mimetypelist["moc"] = "text/x-moc";
$mimetypelist["p"] = "text/x-pascal";
$mimetypelist["pas"] = "text/x-pascal";
$mimetypelist["etx"] = "text/x-setext";
$mimetypelist["sh"] = "text/x-sh";
$mimetypelist["tcl"] = "text/x-tcl";
$mimetypelist["tk"] = "text/x-tcl";
$mimetypelist["tex"] = "text/x-tex";
$mimetypelist["ltx"] = "text/x-tex";
$mimetypelist["sty"] = "text/x-tex";
$mimetypelist["cls"] = "text/x-tex";
$mimetypelist["vcs"] = "text/x-vcalendar";
$mimetypelist["vcf"] = "text/x-vcard";
$mimetypelist["dl"] = "video/dl";
$mimetypelist["fli"] = "video/fli";
$mimetypelist["gl"] = "video/gl";
$mimetypelist["mpeg"] = "video/mpeg";
$mimetypelist["mpg"] = "video/mpeg";
$mimetypelist["mpe"] = "video/mpeg";
$mimetypelist["qt"] = "video/quicktime";
$mimetypelist["mov"] = "video/quicktime";
$mimetypelist["asf"] = "video/x-ms-asf";
$mimetypelist["asx"] = "video/x-ms-asf";
$mimetypelist["avi"] = "video/x-msvideo";
$mimetypelist["movie"] = "video/x-sgi-movie";
$mimetypelist["vrm"] = "x-world/x-vrml";
$mimetypelist["vrml"] = "x-world/x-vrml";
$mimetypelist["wrl"] = "x-world/x-vrml";
?>

你可能感兴趣的:(PHP,Excel,qt,pascal,Tcl)