PHP
[PHP] - 파일확장자 추출 예제(사용법)
Vivara
2011. 7. 19. 16:28
반응형
$file = $_POST["upfile"];
$ext = substr(strrchr($file,"."),1);
$ext = strtolower($ext);
$ext = substr(strrchr($file,"."),1);
$ext = strtolower($ext);
반응형