/ Published in: Other

Expand |
Embed | Plain Text
function get_file_extension($file_name){ return substr(strrchr($file_name,'.'),1); } //without extension $info = pathinfo($file); $file_name = basename($file,'.'.$info['extension']);
You need to login to post a comment.