file_put_contents("test.txt", "This is another something.", FILE_APPEND);
FILE_APPEND:在文件末尾以追加的方式写入数据
file_put_contents("test.txt", "This is another something.", FILE_APPEND);
FILE_APPEND:在文件末尾以追加的方式写入数据
转载于:https://www.cnblogs.com/huanglei559/p/10993652.html