title: Using 'glob' to display files with no extension?
body: <p>I am using the following code to display the files in descending order of date. But When I upload any file without extension its not visible because of glob, is there any way to show the hidden files?</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;?php
  $dir = "/opt/lampp/htdocs/jquery"; 
  chdir($dir); 
  array_multisort(array_map('filemtime', ($files = glob("*.*"))), SORT_DESC, $files); 
  foreach($files as $filename) 
  { 
      echo "&lt;li&gt;".$filename."&lt;/li&gt;";  
  }  
  ?&gt;
  </code></pre>