$currentPage = basename($PHP_SELF); Regards Mark Howells Working in a Winter Wonderland http://www.mark.ac > Von: "Burhan Khalid" <burhankh at hotmail.com> > Antworten an: thelist at lists.evolt.org > Datum: Tue, 11 Dec 2001 10:31:31 -0600 > An: thelist at lists.evolt.org > Betreff: RE: [thelist] PHP Question > > is there any easy way to just get the > filename, without the path, or do I have to chop it up manually? > > what I get : > > /path/to/index.php > > what I want : > > index.php