title: read multiple files with php from directory
body: <p>My question: is there a possibility to read multiple html files into a PHP file?
  I now use this code for reading the content from a file:</p>
  
  <pre><code>&lt;?php
  $file_handle = fopen("myfiles/file1.html", "r");
  while (!feof($file_handle)) {
  $line = fgets($file_handle);
  echo $line;
  }
  fclose($file_handle);
  ?&gt;
  </code></pre>
  
  <p>But this gives me only the content of file1.html</p>
  
  <p>So i was wondering if it is possible to do something like this:</p>
  
  <pre><code>&lt;?php
  $file_handle = fopen("myfiles/*.html", "r");
  while (!feof($file_handle)) {
  $line = fgets($file_handle);
  echo $line;
  }
  fclose($file_handle);
  ?&gt;
  </code></pre>
  
  <p>The * above represents all .html files</p>
  
  <p>Is there any way to do that?</p>