The code below combines every .php file it finds in a directory. I need help to modify it so I can tell it what php files to combine.
(ie: Need to combine the following pages, page1.php, page2.php, page3.php, page4.php, page5.php, page6.php,
page7.php, page8.php, page9.php, page10.php, page11.php, page12.php )
Thanks in advance.
[php]
<?php foreach (glob("*.php") as $filename) { $code.=file_get_contents("./$filename"); } file_put_contents("./combined.php",$code); ?>[/php]