Thursday, August 27, 2009

How to find absolute path using php


Create a file called path.php with the following code:

echo realpath(dirname(__FILE__));