$_SERVER[\'DOCUMENT_ROOT\']
returns
/usr/local/apache/htdocs/
is there a way to get
/home/us
Whenever you want any sort of configuration information you can use phpinfo().