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