PHP to determine the upload file type $_files[][' type '] value Daquan

Source: Internet
Author: User
Tags gtar
123 application/vnd.lotus-1-2-3
3GP VIDEO/3GPP
AaB Application/x-authoware-bin
AAM Application/x-authoware-map
AAS Application/x-authoware-seg
Ai Application/postscript
AIF Audio/x-aiff
AIFC Audio/x-aiff
AIFF Audio/x-aiff
ALS Audio/x-alpha5
AMC Application/x-mpeg
Ani Application/octet-stream
ASC Text/plain
ASD Application/astound
ASF VIDEO/X-MS-ASF
ASN Application/astound
ASP Application/x-asap
ASX video/x-ms-asf
Au audio/basic
AVB Application/octet-stream
Avi Video/x-msvideo
AWB AUDIO/AMR-WB
Bcpio Application/x-bcpio
Bin Application/octet-stream
BLD Application/bld
Bld2 Application/bld2
BMP Application/x-ms-bmp
BPK Application/octet-stream
BZ2 APPLICATION/X-BZIP2
Cal Image/x-cals
CCN APPLICATION/X-CNC
CCO Application/x-cocoa
CDF APPLICATION/X-NETCDF
CGI magnus-internal/cgi
Chat Application/x-chat
Class Application/octet-stream
CLP Application/x-msclip
CMX APPLICATION/X-CMX
Co application/x-cult3d-object
Cod image/cis-cod
Cpio Application/x-cpio
CPT Application/mac-compactpro
CRD Application/x-mscardfile
CSH application/x-csh
CSM CHEMICAL/X-CSML
CSML CHEMICAL/X-CSML
CSS Text/css
Cur Application/octet-stream
DCM X-LML/X-EVM
DCR Application/x-director
DCX IMAGE/X-DCX
DHTML text/html
Dir application/x-director
DLL Application/octet-stream
DMG Application/octet-stream
DMS Application/octet-stream
Doc Application/msword
Dot Application/x-dot
DVI Application/x-dvi
DWF DRAWING/X-DWF
DWG Application/x-autocad
DXF Application/x-autocad
DXR Application/x-director
EBK Application/x-expandedbook
EMB Chemical/x-embl-dl-nucleotide
EMBL Chemical/x-embl-dl-nucleotide
EPS Application/postscript
Eri Image/x-eri
Es Audio/echospeech
ESL Audio/echospeech
Etc Application/x-earthtime
ETX Text/x-setext
EVM X-LML/X-EVM
Evy Application/x-envoy
EXE Application/octet-stream
Fh4 Image/x-freehand
Fh5 Image/x-freehand
FHC Image/x-freehand
Fif Image/fif
FM Application/x-maker
FPX IMAGE/X-FPX
FVI Video/isivideo
Gau Chemical/x-gaussian-input
GCA application/x-gca-compressed
GDB X-lml/x-gdb
GIF image/gif
GPS Application/x-gps
Gtar Application/x-gtar
GZ Application/x-gzip
HDF APPLICATION/X-HDF
HDM TEXT/X-HDML
HDML TEXT/X-HDML
HLP Application/winhlp
HQX application/mac-binhex40
HTM text/html
HTML text/html
HTS text/html
Ice X-conference/x-cooltalk
ICO Application/octet-stream
Ief Image/ief
IFM Image/gif
IFS Image/ifs
Imy Audio/melody
INS Application/x-net-install
IPs Application/x-ipscript
IPX Application/x-ipix
It Audio/x-mod
Itz Audio/x-mod
IVR I-WORLD/I-VRML
J2K image/j2k
Jad Text/vnd.sun.j2me.app-descriptor
Jam Application/x-jam
Jar Application/java-archive
JNLP Application/x-java-jnlp-file
JPE Image/jpeg
JPEG Image/jpeg
JPG Image/jpeg
Jpz Image/jpeg
JS Application/x-javascript
JWC APPLICATION/JWC
KJX APPLICATION/X-KJX
Lak X-lml/x-lak
Latex Application/x-latex
LCC Application/fastman
LCL Application/x-digitalloca
LCR Application/x-digitalloca
Lgh Application/lgh
LHA Application/octet-stream
LML X-lml/x-lml
Lmlpack X-lml/x-lmlpack
LSF video/x-ms-asf
LSX video/x-ms-asf
LZH Application/x-lzh
M13 Application/x-msmediaview
M14 Application/x-msmediaview
M15 Audio/x-mod
M3U Audio/x-mpegurl
M3url Audio/x-mpegurl
MA1 AUDIO/MA1
Ma2 Audio/ma2
MA3 AUDIO/MA3
MA5 AUDIO/MA5
Mans Application/x-troff-man
Map Magnus-internal/imagemap
MBD Application/mbedlet
MCT Application/x-mascot
MDB application/x-msaccess
Mdz Audio/x-mod
Me Application/x-troff-me
Mel Text/x-vmel
Mi application/x-mif
Mid Audio/midi
MIDI Audio/midi
MIF APPLICATION/X-MIF
Mil Image/x-cals
Mio Audio/x-mio
MMF application/x-skt-lbs
MNG video/x-mng
Mny Application/x-msmoney
MoC Application/x-mocha
Mocha Application/x-mocha
MoD Audio/x-mod
MOF Application/x-yumekara
MOL Chemical/x-mdl-molfile
Mop Chemical/x-mopac-input
MOV video/quicktime
Movie Video/x-sgi-movie
MP2 Audio/x-mpeg
MP3 Audio/x-mpeg
MP4 Video/mp4
MPC Application/vnd.mpohun.certificate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.