>i have a file name with the path ex food/italy/pizza/margherita.php. how >can i obtain the name of the file in this case "margherita.php" i know >there is a function, but i don't remember it.
basename(__FILE__) may work. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php