Reply to Re: Find the name of the current folder

Your name:

Reply:


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 .

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация