How can i make a path file in php
<p>I was wondering how can I make an path file in php? 
For example I would like to have a pointer file in the root folder that points to the folder where the php script are held.</p>

<p>I tried something like this, but it does not work.</p>

<p>path.php (is in the root file eg. htdocs/project1/week5)</p>

<pre><code>$path = "/project1/week5/php";

set_include_path(get_include_path() . PATH_SEPARATOR . $path);
</code></pre>

<p>alert.php (is in the root file eg. htdocs/project1/week5)</p>

<pre><code>include("path.php");
include("AlertFormAction.php");
</code></pre>

<p>AlertFormAction.php (is in  htdocs/project1/week5/php)</p>

<p>What am I doing wrong? Could somebody be so kind and show me how it is supposed to be done? Thank you.</p>
