摘要: 1.2 文件操作 ​ 1、将字符串写入文件 <?php $str='床前明月光'; file_put_contents('./test.txt,$str); ​ 2、将整个文件读入一个字符串 读取文件 方法一: echo file_get_contents('./test.txt'); //将整个文 阅读全文
posted @ 2020-07-20 10:36 一只小白呀 阅读(975) 评论(0) 推荐(0) 编辑