时间:2021-07-01 10:21:17 帮助过:14人阅读
function GetFiletype($filename){
$filer=explode(".",$filename);
$count=count($filer)-1;
return strtolower(".".$filer[$count]);
}
http://www.bkjia.com/PHPjc/632004.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/632004.htmlTechArticlephp取得文件扩展名 function GetFiletype($filename){ $filer=explode(.,$filename); $count=count($filer)-1; return strtolower(..$filer[$count]); }...