함수 get extension()

Jmnote (토론 | 기여)님의 2013년 12월 17일 (화) 09:24 판 (새 문서: category: file ==PHP== category: PHP <source lang='php'> $path_parts = pathinfo($filename); $extension = $path_parts['extension']; </source> <source lang='php'> $extension = s...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

PHP

$path_parts = pathinfo($filename);
$extension = $path_parts['extension'];
$extension = substr(strrchr($filename, "."), 1);
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}