drupal_basename
function drupal_basename
drupal_basename($uri, $suffix = NULL)
Gets the filename from a given path.
PHP's basename() does not properly support streams or filenames beginning with a non-US-ASCII character.
See also
http://bugs.php.net/bug.php?id=37738
basename()