php - 以下代码中的 mime 是什么?
问题描述
谁能告诉我以下代码行中的 mime 是什么
echo "File is an image - " . $check["mime"] . ".";
谢谢你
解决方案
在您的示例中,mime 是一个数组键。但实际上 MIME 是
The Multipurpose Internet Mail Extensions (MIME) type is a standardized way to
indicate the nature and format of a document.
正如这里所解释的
推荐阅读
- algorithm - 如何使用离散的方法进行优化算法
- html - 离子组件 - VSCode html 编辑器中的所有红色
- javascript - 如何显示包含当前键的数组中的对象?
- reactjs - 动态添加项目 VS 滚动行为
- c# - 我正在尝试使用 MVC C# 在 SQL 中记录审计表,以使用控制器跟踪编辑
- html - 如何正确使用 html-to-react?
- php - 用正则表达式替换多个单词
- python - 如何强制Python决策树每次只在一个节点上继续分裂(每次形成一个节点/叶子)
- amazon-web-services - AWS EKS,如何直接从浏览器中访问 Pod?
- django - 静态文件 Python 任何地方