i am trying to get the document root path, up one level...
IE
/home/user/public_html
and i just want
/home/user
i thought about using $_SERVER[DOCUMENT_ROOT] and then stripping the last forwardslash and whatever came after it, i am just not quite sure how to do that...
thanks