Slushh.com «Hot!Myspace LayoutsHot!»

Finding Your Absolute Path Tutorial

Absolute Path


This tutorial shows you how to find your absolute path.
You will need your abolute path for several things such as PHP includes, PHP scripts and so on.

First of all, copy the code below and paste it in a new file called path.php.
<?php $p = getcwd(); echo $p; ?>

Upload that file onto your server and then go to http://www.yoursite.com/path.php, on that page, you'll see your absolute path.

Tagboard