PHP use of realpath() and dirname(__FILE__)


echo "<b>realpath('')</b>".realpath('');
echo "<br />------------------<br />";
echo "<b>dirname(_FILE_)</b>".dirname(__FILE__);

Out Put
realpath(”)“.realpath(”);
echo “
——————
“;
echo “dirname(_FILE_)“.dirname(__FILE__);
?>

Share on Facebook