Hi Micah,
dirname($_SERVER['REQUEST_URI']);
I have tried that and I dont get the proper URI:Example running print_r($_SERVER); I get: [REQUEST_URI] => /net1003/ people/jason/
But then doing: $jason = dirname($_SERVER['REQUEST_URI']); echo "URL: "; echo $jason; I get: URL: /net1003/people Thoughts on what I am doing wrong. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php