php取得文件扩展名_PHP教程
程序员文章站
2022-03-29 17:53:41
...
php取得文件扩展名
function GetFiletype($filename){
$filer=explode(".",$filename);
$count=count($filer)-1;
return strtolower(".".$filer[$count]);
}
下一篇: php如何获取文件大小和文件创建时间