title: create my own directory in html with download links
body: <p>I was trying to create an online webshare but i'm unable to make a page which will automatically add or remove files from the site when done so. Please help me in resolving this problem. And I'm not able to link the PHP code to  the html page to execute, please help me in creating the html and PHP in my already built design pages so that i can complete my project.<br>
  <strong>The Php Of The Page Goes As Follows</strong></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
      &lt;body style="background:#e9e9e9; font-family:Verdana; font-size:180%"&gt;
  &lt;head&gt;
      &lt;p style="text-align:center; size:20%"&gt;Download Now&amp;#33;
      &lt;br&gt;No Need of Internet&amp;#33;&lt;/p&gt;
      &lt;/head&gt;
      &lt;div style="background:white; margin-right:2%; margin-left:2%; font-size:150%"&gt;
          &lt;font color="cornflowerblue"&gt;Owais&lt;/font&gt; shared some files with you.
          &lt;hr&gt;
          Files
          &lt;hr&gt;
  &lt;?php
    if ($handle = opendir('C:\Users\makro\Documents\Share\Send')) {
      while (false !== ($file = readdir($handle))) {
        if ($file != "." &amp;&amp; $file != "..") {
          $thelist .= '&lt;li&gt;&lt;a href="'.$file.'"&gt;'.$file.'&lt;/a&gt;&lt;/li&gt;';
        }
      }
      closedir($handle);
    }
  ?&gt; 
  &lt;h1&gt;List of files:&lt;/h1&gt;
  &lt;ul&gt;&lt;?php echo $thelist; ?&gt;&lt;/ul&gt;
          &lt;/div&gt;
          &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>