编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 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 和图像处理 函数 由文件或 url 创建一个新图象。php imap 函数 decode mime header elementsphp imap 函数 converts mime encoded text to utf 8php 文件系统函数 判断文件是否是通过 http post 上传的php gd 和图像处理 函数 将 jpeg 图像文件转换为 wbmp 图像文件php mailparse 函数 frees a mime resourcephp fileinfo 函数 检测文件的 mime 类型php 文件系统函数 将上传的文件移动到新位置php oci8 函数 返回字段的数据类型php 安装/配置 资源类型php 安装/配置 资源类型php 安装/配置 资源类型
关注编程学问公众号
编程学问网 湘ICP备20001732号