PHP

PHP 확장자 구하기

엘로드넷 2015. 4. 18. 08:16
PHP확장자 구하기 :

$fileInfo = pathinfo('/home/www/index.html');
$fileExt = $fileInfo['extension'];
echo "파일의 확장자는 ".$fileExt;