i asked this question on the php list and was no one knew how and some gave me answers that didn't work.. so maybe someon here will have an idea.
i need to get the root path to my home directory..
eg,
/usr/home/user
DOCUMENT_ROOT returns /usr/home/user/public_html
but i just want the path to the root directory, isn't there a variable i can use? someone on the list told me $_SERVER['home'] but that doesn't even seem to be a valid predefined variable...
thanks.