系统对文档类文件都会默认隐藏后缀名,浏览器也因为安全原因屏蔽了具体路径,在这种情况下该如何获取文件的后缀名?
头信息中也没有该文件的后缀名
Content-Disposition: form-data; name="myfile"; filename="无标题文档"
Content-Type: application/octet-stream
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
File API