编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « CURLFile::getFilename
  • CURLFile::getPostFilename »
  • PHP Manual
  • CURLFile
  • 获取被上传文件的 MIME 类型

CURLFile::getMimeType

(PHP 5 >= 5.5.0, PHP 7)

CURLFile::getMimeType — 获取被上传文件的 MIME 类型

说明

public CURLFile::getMimeType ( void ) : string

参数

此函数没有参数。

返回值

返回被上传文件的 MIME 类型。

相关文章
php 安装/配置 资源类型php 文件系统相关扩展 mimetypephp 非文本内容的 mime 输出 postscript document creationphp curlfile 获取被上传文件的 文件名php curlfile 获取被上传文件的 mime 类型php curlfile 设置被上传文件的 mime 类型php bcompiler 函数 写入开始位置以及 exe 类型文件的结尾信号php 文件系统函数 取得文件类型php gd 和图像处理 函数 取得图像类型的文件后缀php gd 和图像处理 函数 取得 getimagesize,exif read data,exif thumbnail,exif imagetype 所返回的图像类型的 mime 类型php gd 和图像处理 函数 将 webp 格式的图像输出到浏览器或文件php 多字节字符串 函数 获取 mime 字符串php fileinfo 函数 检测文件的 mime 类型php 安装/配置 资源类型php 安装/配置 资源类型php 类型 array 数组php 安装/配置 资源类型php 安装/配置 资源类型php reflectionparameter 获得类型提示类。php 安装/配置 资源类型
关注编程学问公众号
编程学问网 湘ICP备20001732号