title: combine multiple php files into one
body: <p>I'm trying to combine several php files in to one larger with php.</p>
  
  <p>I'm sending form data to a small files and use includes to load into them in a
  main page.</p>
  
  <p>With many of these files each time I work an inspection project is getting to be a little time consuming dropping to a command prompt.</p>
  
  <p>I'm able to combine pages with a command prompt using the "cat" command and pull the ones not yet completed.</p>
  
  <pre><code>cat page-1.php page-2.php page-3.php page-4.php page-5.php page-6.php page-7.php page-8.php page-9.php page-10.php page-11.php page-12.php &gt;&gt; newpage.php
  </code></pre>
  
  <p>I need help with php to perform this with out having to execute a shell command from php.</p>
  
  <p>I also need the code to ignore missing files and continue with the rest.</p>
  
  <p>Thanks in advance</p>