title: PHP display image from file path in browser
body: <p>I'm trying to display an image from the file path but it did return me an error which is &quot;Not allowed to load local resource&quot; i do not know what is the error. I have tried found many resources but it still cannot fix it. Can someone help me on it? Here is the code</p>
  <p>'pic.php'</p>
  <pre><code>&lt;?php
  
  echo &quot;&lt;img src='F:\xampp\htdocs\8DReportSystem\uploadd\Desert.jpg'&gt;&lt;/img&gt;&quot;;
  
  ?&gt;
  </code></pre>
  <p>I knew that this topic have been duplicated, but i just tried all the related topics but it would not fix the error yet. i do not know what is the error. Can someone help me pls.</p>