document_root is the root path to the webserver.

Check out:
http://www.php.net/manual/en/function.getcwd.php

HTH
-Brad

Tony Crockford wrote:

> Hi
>
> what exactly does document_root do?
>
> Does it give to path to the file from the server root?
>
> or does it give the path to the server root?
>
> has something changed in 4.2.2
>
> If I want the path to the document I'm in how do I get it?
>
> looked everywhere (manual, books and archive), but the answer is
> probably so simple I'm not looking in the right place.
>
> help and abuse gratefully received.
>
> Thanks
>
> Tony
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to