<?php
function php_getExtension($filename)
{
$pos=strrpos($filename, ".");
if ($pos === false) {
echo "";
} else {
$ext=substr($filename, $pos+1);
echo $ext;
}
}
?>
<?php
function php_getExtension($filename)
{
$pos=strrpos($filename, ".");
if ($pos === false) {
echo "";
} else {
$ext=substr($filename, $pos+1);
echo $ext;
}
}
?>