Recently I was trying to install something on my server, installation part went smoothly when it comes to configure I was require to provide full path of installed directory. I provided a path but it failed as I was missing as I was typing :-

www/something/something

But in actual it was :-

home/www/something/something

If you to require to know full path of any directory on your server then all you need to do is upload a .PHP file on the directory of which path you want to know and point your browser to that file and you will get full path.

Full_Path_To_Server

Just copy past following lines in a plain text editor and save file as path.php and upload it to the desired directory.

<?php
$dir = dirname(__FILE__);
echo "<p>Full path to this dir: " . $dir . "</p>";
?>

That’s it, you will get full path in your browser.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.