Lego2012
12/13/2016 - 4:01 PM

path.php

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'];