<?php
$output = 'combined.txt';
$files = glob("*.edi_5");
foreach($files as $f) {
file_put_contents($output, file_get_contents($f), FILE_APPEND);
}
so i doNot exactly. Whenever you're unsure about how a PHP function works, you can look it up on PHP.NET. Example:
implode $myfiles =>'combined.txt' ?
But they dont have edi_5 at the end...These are the kinds of "details" that we really, really need to know about if we are going to help you!