Can someone tell me how to concatonate 2 files together in PHP>
The UNIX equivalent is: cat file1.txt >> file2.txt
bmcconkie
0
Newbie Poster
Recommended Answers
Jump to Post$newfilecontents=file_get_contents('file1.txt').file_get_contents('file2.txt');
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.