Is there an easy way to derive the bottom-most directory from a string
containing a path?

Example:  $somepath = "html/testsite/templates/shopping";

Becomes:  "shopping"

TIA
-Shawn



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to