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




About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools