whats the easiest way to go from "/dir1/dir2/dir3/hello.php" to "dir3/" ?
dirname will cut off hello.php but i want to cut dir1 and dir2 as well

Thanks!

- Noah



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to