path.php
<?php //* Do NOT include the opening php tag shown above. Copy the code shown below. <!-- To get the full server path of a directory. --> echo $_SERVER['DOCUMENT_ROOT']; echo $_SERVER['PHP_SELF'];