title: delete file called ".html"
body: <p>I accidentally created a file with no name <code>http://website.com/myFolder/.html</code>,</p>
  
  <p>now, in the control panel of my webhost, this file is not listed, I cannot see or delete it...</p>
  
  <p>but I can see it using this <b>"myList.php"</b> file: (<code>http://website.com/myFolder/myList.php</code>):</p>
  
  <pre><code>&lt;?php
  echo "&lt;ol&gt;";
  if ($handle = opendir('.')) {
      while (false !== ($entry = readdir($handle))) {
          if ($entry != "." &amp;&amp; $entry != "..") {
              echo '&lt;li&gt;&lt;a href="'.$entry.'" target="_blank"&gt;'.$entry.'&lt;/a&gt;&lt;/li&gt;';
          }
      }
      closedir($handle);
  }
  echo "&lt;/ol&gt;";
  ?&gt;
  </code></pre>
  
  <p>This <b>"myList.php"</b> file outputs all the files present in the directory: <code>http://website.com/folder/</code><br>
  also the file with no name <code>http://website.com/myFolder/.html</code><br></p>
  
  <p>How can I delete this file?</p>
  
  <p>I tried to create another .php file called <code>http://website.com/myFolder/myDelete.php</code>,<br>
  and use the php function <b>unlink()</b>:</p>
  
  <pre><code>&lt;?php
  
  $path = "../myFolder/.html";
  if(file_exists($path)){
      if (is_file($path)){
          //unlink($path);
          if (!unlink($file)){
              echo ("Error deleting".$path);
          }else{
              echo ("Deleted".$path);
          }
      }
  }
  
  ?&gt;
  </code></pre>
  
  <p>But it doesn't work.</p>