title: How to display photo from non-public folder?
body: <p>I have built my website in a way so that the actual database files are positioned as follows</p>
  
  <pre><code>root/
  root/httpdocs &lt;- public folder
  root/databasefolder/actual_files_here/some_photo.jpg
  </code></pre>
  
  <p>How can I implement so that the php can view/load a photo from that databasefolder and echo it with  tag. I simply tried <code>"../databasefolder/"</code> in a  tag, but it doesn't work (of course it doesn't), since it's from hidden folder.</p>
  
  <p>I tried Base64 which works in other browsers, but not with Internet Explorer, due to that silly kb limit.</p>