Hi,
Is there any way to find out Document root, if I am using IIS server on windows
c://inetpub/wwwroot/ ???
Hi, I want it using PHP scripts. Is there any way to find document root.
.........................................................................................................
$_SERVER[DOCUMENT_ROOT]
Possibly ???
Amazing what searching for Document Root in the manual gets...
hi, $_SERVER['DOCUMENT_ROOT']; works for apache not for IIS.
Regards,
Hi, try with realpath('/.') or dirname('/.')...