ますfile_put_contentsは、追加コンテンツを達成します

ますfile_put_contents( "test.txtの"、 "これは別のものです。"、FILE_APPEND)。

FILE_APPEND:ファイルの末尾にデータを書き込むための追加方法

おすすめ

転載: www.cnblogs.com/jiangshiguo/p/10945473.html