title: PHP page with several includes only showing one
body: <p>Im very new to php and i have a page with 5 includes located in a directory (called includes) one above where my page is held (called contact</p>
  
  <p>My File Structure is like this</p>
  
  <blockquote>
    <p>|Index.php (includes workfine)</p>
    
    <p>|Includes</p>
    
    <p>|Contact|index.php</p>
  </blockquote>
  
  <p>The Index.php in the contact folder only seems to show the form2.php include</p>
  
  <pre><code> &lt;?php include("../../head.php"); ?&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
   &lt;?php include("../../header.php"); ?&gt;
  
  &lt;!-- container --&gt;
  
  &lt;div id="container" class="container_12"&gt;
  
  &lt;!-- full width Header--&gt;
   &lt;?php include("../../billboard.php"); ?&gt;
  
    &lt;!-- Main Content--&gt;
  
    &lt;div class="grid_8"&gt;
  
  
  
   &lt;?php include("../form2.php"); ?&gt;
  
  
  
  
  
  &lt;div class="clear"&gt;&lt;/div&gt;
  
  &lt;/div&gt; &lt;!--main content close--&gt;
  
  
  &lt;!-- Side Bar--&gt;
  
   &lt;?php include("../../sidebar1.php"); ?&gt;
  
  
  
  
  
  &lt;/div&gt;
  
  
  &lt;/div&gt;
  &lt;!--containter close--&gt;
  
  &lt;div id="topspace" class="grid_12"&gt;&lt;/div&gt;
  &lt;?php include("../footer.php"); ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Errors that appear:</p>
  
  <p>Warning: include(../../head.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 20</p>
  
  <p>Warning: include(../../head.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 20</p>
  
  <p>Warning: include() [function.include]: Failed opening '../../head.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 20</p>
  
  <p>Warning: include(../../header.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 26</p>
  
  <p>Warning: include(../../header.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 26</p>
  
  <p>Warning: include() [function.include]: Failed opening '../../header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 26</p>
  
  <p>Warning: include(../../billboard.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 33</p>
  
  <p>Warning: include(../../billboard.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 33</p>
  
  <p>Warning: include() [function.include]: Failed opening '../../billboard.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 33
  Need To Talk About A Mortgage? We Can Contact You..</p>
  
  <p>(form2.php appears here)</p>
  
  <p>Warning: include(../../sidebar1.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 54</p>
  
  <p>Warning: include(../../sidebar1.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 54</p>
  
  <p>Warning: include() [function.include]: Failed opening '../../sidebar1.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 54</p>
  
  <p>Warning: include(../footer.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 67</p>
  
  <p>Warning: include(../footer.php) [function.include]: failed to open stream: No such file or directory in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 67</p>
  
  <p>Warning: include() [function.include]: Failed opening '../footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/superinj/public_html/gholami.co.uk/callback/index.php on line 67</p>
  
  <p>I have access to two servers and have tried uploading to both and both times get the error</p>
  
  <p>What am i missing?
  Thanks</p>