Re: Script to upload files and merge their content.
Posted: Fri Nov 21, 2008 3:25 pm
Did you try mmj's solution?
And also my suggestion?Code: Select all
$result = file_put_contents($uploadfile, file_get_contents($newfile), FILE_APPEND);
You can remove it by specifying the number of bytes you want to read from the old file