advanced code snippet search
r4b87 on 08/02/10
file extension
08/02/10 09:20pm
1 person have marked this snippet as a favorite
jatubio
Given a string of a file name, return the extension
$extension=substr(strrchr($file,'.'),1);
Report this snippet Tweet
Comment:
You need to login to post a comment.