title: Permission denied when saving a file to xampp htdocs directory
body: <p>Hello I have this problem that I am trying to save a file to a directory on htdocs it says permission denied.</p>
  
  <pre><code>  &lt;?php
  
  
  $image = file_get_contents('http://www.affiliatewindow.com/logos/1961/logo.gif');
  file_put_contents('./images/myFile.gif', $image);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Yb4Fw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yb4Fw.jpg" alt="enter image description here"></a></p>