php取得文件扩展名
- function GetFiletype($filename){
- $filer=explode(".",$filename);
- $count=count($filer)-1;
- return strtolower(".".$filer[$count]);
- }
- function GetFiletype($filename){
- $filer=explode(".",$filename);
- $count=count($filer)-1;
- return strtolower(".".$filer[$count]);
- }