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
--
end
Very Truly yours,
- Kirk Bailey,
Largo Florida
kniht
+-----+
| BOX |
+-----+
think
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php