Documentation
basefilename
usage
string basefilename( string filepath )
paramètres
filepath : the path of the file
retourne
Returns the name of a file, when given its complete path
exemples
$name = basefilename("/media/pictures/image1.jpg");
echo $name; // displays image1.jpg