Trying to get the current folder / path
| From: | Jim MacDiarmid | Date: | Thu, 15 Apr 2004 14:56:43 +0000 |
| Subject: | Trying to get the current folder / path | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23459@lists.php.net to get a copy of this message | ||
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