How to include the image from the relative Directory to a root Directory in php
<pre><code>|root 
| subdir 1 
|   subdir 2
|     subdir 3
|       subdir 4
|         subdir 5 
|              myphp.php 

|relativeroot2(images directory)
   img1.jpg
</code></pre>

<p>In the above myphp.php script Iam trying to include the (img1.jpg)from relativeroot2 dir.Iam not able to do that how can i include it . when i say <code>$_SERVER['DOCUMENT_ROOT']</code> iam returned with value as "root" from ther how can include it
<code>&lt;img src ="&lt;?php echo $_SERVER['DOCUMENT_ROOT']?&gt;"/relativeroot2/img1.jpg"&gt;</code> </p>
