function getFileType($filename) {
$strings = preg_split('/\./', $filename);
return array_pop($strings);
}
$strings = preg_split('/\./', $filename);
return array_pop($strings);
}
2016-12-15