PHP file_put_contents 函数:将字符串写入或追加到文件
php file_put_contents() 函数用于把字符串写入文件,是一次性向文件写入字符串或追加字符串内容的最合适选择 ...
PHP file_put_contents() 函数是一次性向文件写入字符串或追加字符串内容的最合适选择。
file_put_contents()
file_put_contents() 函数用于把字符串写入文件,成功返回写入到文件内数据的字节数,失败则返回 FALSE。
语法:
int file_put_contents ( string filename, string data [, int flags [, resource context]] )



交流群
购物车