title: Access a file which is located before / outside the server root directory?
body: <p>I'm making an intranet for a post-sale customer service entreprise. Employee need to be able to upload img files to the intranet's server and i need to store them in a directory with is BEFORE <code>www</code> (the website's root directory).</p>
  
  <p>Doing this using php is pretty easy but how to include these imgs on the website once they're uploaded ?
  I tried this code</p>
  
  <pre><code>&lt;img src="../img/img.png"/&gt;
  </code></pre>
  
  <p>This is not working because i can't send a file if it is OUTSIDE the server's <code>www</code> directory ...</p>
  
  <p>Is there any proper way to do that ?</p>
  
  <p>Current treeview :</p>
  
  <pre><code>server root directory
             |www
                 |(all server files)
             |img
                 |(all img files)
  </code></pre>
  
  <p>(the server's index.php is located in <code>www</code> and the files are in <code>img</code>)</p>