Trying to get the current folder / path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux