Is there any way I can retrieve the server's root file path from within my PHP 5.0 scripts? It seems a bit odd such a feature would not be available for the language. Im using Windows 2003 Server IIS6 at work.
$_SERVER['DOCUMENT_ROOT'] does not work for me.
Thanks
Start Free Trial