Home >php教程 >php手册 >php取得文件扩展名

php取得文件扩展名

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-22 18:38:491143browse

php取得文件扩展名

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


本文地址:

转载随意,但请附上文章地址:-)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn