how to echo path in php code example Example: php serverpath <?php echo $_SERVER['DOCUMENT_ROOT']; ?>