이 배열에는 일반적인 MIME 유형이 포함되어 있습니다. 파일을 다운로드해야 하는 경우 이 배열을 통해 파일 확장자를 확인하여 다운로드 가능 여부를 확인할 수 있습니다.
- $mime_types = array("323" => "text/h323",
- "acx" => "application/internet-property-stream",
- "ai" => "응용 프로그램/포스트스크립트",
- "aif" => "오디오/x-aiff",
- "aifc" => "오디오/x-aiff",
- "aiff" => "오디오/x-aiff",
- "asf" => "비디오/x-ms-asf",
- "asr" => ",
- "asx" => "video/x-ms-asf",
- "au" => "오디오/기본",
- "avi" => "video/x- msvideo",
- "axs" => "application/olescript",
- "bas" => "text/plain",
- "bcpio" => "application/x-bcpio",
- "bin" => "응용 프로그램/옥텟-스트림",
- "bmp" => "이미지/bmp",
- "c" => "텍스트/일반",
- "cat" => "application/vnd.ms-pkiseccat",
- "cdf" => "application/x-cdf",
- "cer" => -cert",
- "class" => "application/octet-stream",
- "clp" => "application/x-msclip",
- "cmx" => "image/ x-cmx",
- "cod" => "이미지/cis-cod",
- "cpio" => "응용 프로그램/x-cpio",
- "crd" => "응용 프로그램 /x-mscardfile",
- "crl" => "application/pkix-crl",
- "crt" => "application/x-x509-ca-cert",
- "csh" => "application/x-csh",
- "css" => "text/css",
- "dcr" => "application/x-director",
- "der" => "application/x-x509-ca-cert",
- "dir" => "application/x-director",
- "dll" => "application/x-msdownload",
- "dms" => "응용프로그램/옥텟-스트림",
- "doc" => "application/msword",
- "점" => "application/msword",
- "dvi" => "application/x-dvi",
- "dxr" => "application/x-director",
- "eps" => "응용 프로그램/포스트스크립트",
- "etx" => "text/x-setext",
- "evy" => "application/envoy",
- "exe" => "응용프로그램/옥텟-스트림",
- "fif" => "응용 프로그램/도형",
- "flr" => "x-world/x-vrml",
- "gif" => "이미지/gif",
- "gtar" => "application/x-gtar",
- "gz" => "application/x-gzip",
- "h" => "텍스트/일반",
- "hdf" => "application/x-hdf",
- "hlp" => "application/winhlp",
- "hqx" => "application/mac-binhex40",
- "hta" => "응용 프로그램/hta",
- "htc" => "텍스트/x-컴포넌트",
- "htm" => "텍스트/html",
- "html" => "text/html",
- "htt" => "text/webviewhtml",
- "ico" => "이미지/x-아이콘",
- "ief" => "이미지/ief",
- "iii" => "application/x-iphone",
- "ins" => "application/x-internet-signup",
- "isp" => "application/x-internet-signup",
- "jfif" => "image/pipeg",
- "jpe" => "이미지/jpeg",
- "jpeg" => "이미지/jpeg",
- "jpg" => "이미지/jpeg",
- "js" => "application/x-javascript",
- "latex" => "application/x-latex",
- "lha" => "응용프로그램/옥텟-스트림",
- "lsf" => "비디오/x-la-asf",
- "lsx" => "video/x-la-asf",
- "lzh" => "응용프로그램/옥텟-스트림",
- "m13" => "application/x-msmediaview",
- "m14" => "application/x-msmediaview",
- "m3u" => "audio/x-mpegurl",
- "man" => "application/x-troff-man",
- "mdb" => "application/x-msaccess",
- "나" => "application/x-troff-me",
- "mht" => "메시지/rfc822",
- "mhtml" => "메시지/rfc822",
- "mid" => "오디오/중간",
- "mny" => "application/x-msmoney",
- "mov" => "동영상/퀵타임",
- "영화" => "video/x-sgi-movie",
- "mp2" => "비디오/mpeg",
- "mp3" => "오디오/mpeg",
- "mpa" => "비디오/mpeg",
- "mpe" => "비디오/mpeg",
- "mpeg" => "비디오/mpeg",
- "mpg" => "비디오/mpeg",
- "mpp" => "application/vnd.ms-project",
- "mpv2" => "비디오/mpeg",
- "ms" => "application/x-troff-ms",
- "mvb" => "application/x-msmediaview",
- "nws" => "메시지/rfc822",
- "oda" => "application/oda",
- "p10" => "application/pkcs10",
- "p12" => "application/x-pkcs12",
- "p7b" => "application/x-pkcs7-certificates",
- "p7c" => "application/x-pkcs7-mime",
- "p7m" => "application/x-pkcs7-mime",
- "p7r" => "application/x-pkcs7-certreqresp",
- "p7s" => "application/x-pkcs7-signature",
- "pbm" => "image/x-portable-bitmap",
- "pdf" => "응용 프로그램/pdf",
- "pfx" => "application/x-pkcs12",
- "pgm" => "image/x-portable-graymap",
- "pko" => "application/ynd.ms-pkipko",
- "pma" => "application/x-perfmon",
- "pmc" => "application/x-perfmon",
- "pml" => "application/x-perfmon",
- "pmr" => "application/x-perfmon",
- "pmw" => "application/x-perfmon",
- "pnm" => "image/x-portable-anymap",
- "pot" => "application/vnd.ms-powerpoint",
- "ppm" => "image/x-portable-pixmap",
- "pps" => "application/vnd.ms-powerpoint",
- "ppt" => "application/vnd.ms-powerpoint",
- "prf" => "application/pics-rules",
- "ps" => "애플리케이션/포스트스크립트",
- "pub" => "application/x-mspublisher",
- "qt" => "비디오/퀵타임",
- "ra" => "audio/x-pn-realaudio",
- "ram" => "audio/x-pn-realaudio",
- "ras" => "image/x-cmu-raster",
- "rgb" => "이미지/x-rgb",
- "rmi" => "오디오/중간",
- "roff" => "application/x-troff",
- "rtf" => "응용 프로그램/rtf",
- "rtx" => "텍스트/리치텍스트",
- "scd" => "application/x-msschedule",
- "sct" => "텍스트/스크립트",
- "setpay" => "신청/지불 개시",
- "setreg" => "application/set-registration-initiation",
- "sh" => "application/x-sh",
- "shar" => "application/x-shar",
- "앉아" => "application/x-stuffit",
- "snd" => "오디오/기본",
- "spc" => "application/x-pkcs7-certificates",
- "spl" => "응용 프로그램/futuresplash",
- "src" => "application/x-wais-source",
- "sst" => "application/vnd.ms-pkicertstore",
- "stl" => "application/vnd.ms-pkistl",
- "stm" => "text/html",
- "svg" => "이미지/svg xml",
- "sv4cpio" => "application/x-sv4cpio",
- "sv4crc" => "application/x-sv4crc",
- "t" => "application/x-troff",
- "tar" => "application/x-tar",
- "tcl" => "application/x-tcl",
- "tex" => "application/x-tex",
- "texi" => "application/x-texinfo",
- "texinfo" => "application/x-texinfo",
- "tgz" => "응용프로그램/x-압축",
- "tif" => "이미지/tiff",
- "tiff" => "image/tiff",
- "tr" => "application/x-troff",
- "trm" => "application/x-mterminal",
- "tsv" => "텍스트/탭으로 구분된 값",
- "txt" => "텍스트/일반",
- "uls" => "text/iuls",
- "ustar" => "application/x-ustar",
- "vcf" => "text/x-vcard",
- "vrml" => "x-world/x-vrml",
- "wav" => "오디오/x-wav",
- "wcm" => "application/vnd.ms-works",
- "wdb" => "application/vnd.ms-works",
- "wks" => "application/vnd.ms-works",
- "wmf" => "application/x-msmetafile",
- "wps" => "application/vnd.ms-works",
- "wri" => "application/x-mswrite",
- "wrl" => "x-world/x-vrml",
- "wrz" => "x-world/x-vrml",
- "xaf" => "x-world/x-vrml",
- "xbm" => "이미지/x-xbitmap",
- "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-excel",
- "xof" => "x-world/x-vrml",
- "xpm" => "이미지/x-xpixmap",
- "xwd" => "image/x-xwindowdump",
- "z" => "응용프로그램/x-압축",
- "zip" => "application/zip");
复代码
|