Get path info

$_SERVER['DOCUMENT_ROOT'] // www base path

echo $_SERVER['DOCUMENT_ROOT'] . $_SERVER['REWRITEBASE'] . '<br>';