Page 2 of 2

Re: Script to upload files and merge their content.

Posted: Fri Nov 21, 2008 3:25 pm
by Eran
Did you try mmj's solution?

Code: Select all

$result = file_put_contents($uploadfile, file_get_contents($newfile), FILE_APPEND);
And also my suggestion?
You can remove it by specifying the number of bytes you want to read from the old file

Re: Script to upload files and merge their content.

Posted: Sat Nov 22, 2008 3:20 am
by mmj
bugmenot wrote:That was all.
So you got it fixed?