I know this should be a simple task, but why does it seem so convoluted in trying to get the current folder I'm in. I want to be able to get the base folder such as: /docroot/subfolder/ - or - http://serverhostname/subfolder/ Not sure what the appropriate way is to do this. Thanks, Jim -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php