php document root
snippet in php

php document root

user6558

<?php echo $_SERVER['DOCUMENT_ROOT'].'/hello.html'; ?>