get file extension on PHP

function get_file_extension($file_name) {
return end(explode('.',$file_name));
}
Scroll to Top
Ads: