array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'curlfile.getmimetype.php', 1 => 'CURLFile::getMimeType', ), 'up' => array ( 0 => 'class.curlfile.php', 1 => 'CURLFile', ), 'prev' => array ( 0 => 'curlfile.getfilename.php', 1 => 'CURLFile::getFilename', ), 'next' => array ( 0 => 'curlfile.getpostfilename.php', 1 => 'CURLFile::getPostFilename', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/curl/curlfile/getmimetype.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
CURLFile::getMimeType — 获取 MIME 类型
此函数没有参数。
返回 MIME 类型。