php上传常见文件类型对应的$_FILES["file"]["type"](转)

时间:2023-12-17 23:56:38

php上传常见文件类型对应的$_FILES["file"]["type"]

from:http://hi.baidu.com/7book/item/374971202075408c6e2cc3a4

xls
application/vnd.ms-excel
xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
ppt
application/vnd.ms-powerpoint
pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation
doc
application/msword
docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
zip
application/x-zip-compressed
rar
application/x-zip-compressed
wmv
video/x-ms-wmv
mp3
audio/mpeg
mp4
video/mp4