title: Collect web data using Simple HTML Dom from multiple pages
body: <p>I used the below code and successfully collected the data from a specific page as follows:</p>
  
  <pre><code>    include 'simplehtmldom/simple_html_dom.php';
  
      $html = file_get_html('http://test.com/file/1209i0329/');
  
      // Find all article blocks
      foreach($html-&gt;find('div.Content') as $file) {
          $item['date']     = $file-&gt;find('id.article-date', 0)-&gt;plaintext;
          $item['location']    = $file-&gt;find('id.article-location', 0)-&gt;plaintext;
          $item['price'] = $file-&gt;find('div.article', 0)-&gt;plaintext;
          $files[] = $item;
      }
  
      print_r($files);
  </code></pre>
  
  <p>The code works well for <code>http://test.com/file/1209i0329.php</code>, but my goal is to collect data from all pages starting with <code>http://test.com/file/</code> on this domain (For example, <code>http://test.com/file/1209i0329/</code>, <code>http://test.com/file/120dnkj329/</code>, and etc). Is there a solution to overcome this problem using <code>simle_html_dom</code>?</p>