www.php.net
you can look for "basename" in the functions' description
Description
string basename ( string $path [, string $suffix ] )
Given a string containing a path to a file, this function will return the base name of the file.
means: the name of the file without directories...