Reply to Re: concatenate files?

Your name:

Reply:


Posted by Jerry Stuckle on 01/20/08 20:27

Bint wrote:
> is there any way to concatenate files in PHP?
>
> thanks
> B
>
>
>

Please clarify what you're asking. Are you wanting to concatenate two
files on disk? If so, you can open one for reading and one for append.
Then read the first in, writing to the second as you go.

Or, better yet, open a new file for writing. Open the first file for
reading and write it to the new file. Then open the second input file
for reading and write to the new file.

Of course there are other ways to do it, also - i.e. using system functions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация