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

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

posted @ 2013-07-26 08:54  ssfie  阅读(1484)  评论(0编辑  收藏  举报