欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

php取得文件扩展名_PHP教程

程序员文章站 2022-03-29 17:53:41
...
php取得文件扩展名

function GetFiletype($filename){
$filer=explode(".",$filename);
$count=count($filer)-1;
return strtolower(".".$filer[$count]);
}

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632004.htmlTechArticlephp取得文件扩展名 function GetFiletype($filename){ $filer=explode(.,$filename); $count=count($filer)-1; return strtolower(..$filer[$count]); }...