$_server document_root in php code example
Example 1: php document root
<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?>
Example 2: $_server 'document_root'
$_SERVER['DOCUMENT_ROOT']
<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?>
$_SERVER['DOCUMENT_ROOT']