工学1号馆

home

« | 返回首页

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

By Wu Yudong on October 09, 2017

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/octet-stream

wmv
video/x-ms-wmv

mp3
audio/mpeg

mp4
video/mp4

如果文章对您有帮助,欢迎点击下方按钮打赏作者

Comments

No comments yet.
To verify that you are human, please fill in "七"(required)