php上傳常見檔案型別對應的$_FILES[“file”][“type”]
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/x-zip-compressed
application/x-zip-compressed
video/x-ms-wmv
audio/mpeg
video/mp4
image/gif
image/jpeg
image/png
image/bmp
application/octet-stream
image/x-icon
application/octet-stream
application/octet-stream
video/avi
application/vnd.rn-realmedia-vbr
application/octet-stream
application/octet-stream
audio/wav
application/octet-stream
application/octet-stream
text/plain
application/pdf
application/octet-stream
application/msaccess
application/octet-stream
application/octet-stream
text/plain
application/octet-stream
application/octet-stream
application/octet-stream
text/html
application/octet-stream
application/octet-stream
application/x-javascript
text/xml
application/octet-stream
本作品採用《CC 協議》,轉載必須註明作者和本文連結