what is doc_root in php code example
Example 1: php document root
<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?>
Example 2: doument root phpp
$RootPath = $_SERVER["DOCUMENT_ROOT"];
<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?>
$RootPath = $_SERVER["DOCUMENT_ROOT"];