A Full Path (also called and absolute path and absolute pathname) is the location of an object relative to the root directory. Occasionally files may be required to be added, deleted or amended and the full path is required to be known. If you are wanting to know the full path of your hosting account then follow these simple instructions.
Locate your Full Path
Here are four simple steps to find your full path:
- In a text editor (e.g. notepad or notepad++) copy and paste the following text into a new file: <?php $p = getcwd();echo $p;?>
- Save the file as fullpath.php
- Copy fullpath.php to the root of your Web server
- In an Internet browser so to http://www.example.com/fullpath.php (where http://www.example.com/ is your domain name).
You now have your full path!