Join threes file in one using PHP
<p>I'm looking for a PHP function to join three files then output them to one file:</p>

<pre><code>$fileA = 'test_1.dat'; ---&gt; size : 1kb  
$fileB = 'test_2.dat'; ---&gt; size : 1kb  
$fileC = 'test_3.dat'; ---&gt; size : 10kb  

$newfilename = fnProcessMergeFile($fileA,$fileB,$fileC);

fnProcessMergeFile($fileA,$fileB,$fileC)
{
....  
....  
return $filemerge;  
}
</code></pre>
