Include files from parent or other directory
<p>I'm needing to include a file from the parent directory, and other sub-directories, into a sub-directory. I've done it before by simply using include('/rootdirectory/file.php'); but now it won't seem to work. </p>

<p>Just wondering how I can do this, thanks. </p>

<p>Here's my exact line:</p>

<pre><code>include('/forums/groups.php');
</code></pre>

<p>It's giving me this error(the page still runs):</p>

<p>Warning: include(/forums/groups.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\forums\blog\posts.php on line 3</p>

<p>Warning: include() [function.include]: Failed opening '/forums/groups.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\forums\blog\posts.php on line 3</p>
