php 读写文件 file_put_contents() 与 file_get_contents() 函数用法
file_put_contentsfile_put_contents()函数用于把字符串写入文件,成功返回写入到文件内数据的字节数,失败则返回FALSE。语法:intfile_put_contents(stringfilename,stringdata[,intflags[,resourcecontext]])参数说明:参数说明filename要写入数据的文件名data要写入的数据。类型可以是st