Re: neubie seeking answers
| From: | Richard Quadling | Date: | Fri, 01 Apr 2011 08:22:02 +0000 |
| Subject: | Re: neubie seeking answers | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312187@lists.php.net to get a copy of this message | ||
On 1 April 2011 03:31, Kirk Bailey <kbailey@howlermonkey.net> wrote:
> PERFECT SIMPLE SOLUTION. THANK YOU!
>
> On 3/31/2011 12:34 PM, Stuart Dallas wrote:
>>
>> On Thursday, 31 March 2011 at 17:24, Kirk Bailey wrote:
>> I need to extract the name of the subdirectory a page lives in to
>>>
>>> use in the title for that page. This will be returned as a string to
>>> echo to the output stream. Now how the heck do I do that?!?
>>
>> $dir = basename(dirname(__FILE__));
>>
>> -Stuart
Are my posts invisible?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY