📅  最后修改于: 2022-03-11 14:54:14.995000             🧑  作者: Mango
代码示例1
$file_info = new finfo(FILEINFO_MIME_TYPE);
$mime_type = $file_info->buffer(file_get_contents($image_url));
echo $mime_type;