Posted by Krustov on 11/10/05 23:16
<comp.lang.php , Janwillem Borleffs , jw@jwscripts.com>
<4373b613$0$67571$dbd4d001@news.euronet.nl>
<Thu, 10 Nov 2005 22:05:28 +0100>
> > As I only need/want the last folder name and as i'm still a bit of a
> > php newbie is there any better way of doing it than the following .
> >
>
> print basename(getcwd());
>
Typical and my own fault for not being clear in the OP .
Navigation:
[Reply to this message]
|