title: How do I allow a file from one folder to access a file from another folder?
body: <p>I am currently coding a website and I have a global sidebar. I want every file to have the sidebar and just be able to update my sidebar.php and everything will change, but when I put in </p>
  
  <pre><code>&lt;div&gt;&lt;?php include 'sidebar.php'; ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>it doesn't work. I've also tried</p>
  
  <pre><code>&lt;div&gt;&lt;?php include 'jophnist.x10.bz/sidebar.php'; ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Whenever I do that though, it gives me this warning.</p>
  
  <pre><code>Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/jophnist/public_html/games/index.php on line 5
  
  Warning: include(http://jophnist.x10.bz/sidebar.php): failed to open stream: no suitable wrapper could be found in /home/jophnist/public_html/games/index.php on line 5
  
  Warning: include(): Failed opening 'http://jophnist.x10.bz/sidebar.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jophnist/public_html/games/index.php on line 5
  </code></pre>
  
  <p>What do I do? When I try</p>
  
  <pre><code>&lt;iframe src="http://jophnist.x10.bz/sidebar.php" seamless&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>it works, although it is too small and the words in the file don't go in the sidebar. </p>