2017年7月17日

php向文件写入

摘要: <?php header('Content-Type: text/html; charset=utf-8'); $file = './php34.txt'; $mode = 'w';//w, a, x // PHP提供了如下一些的打开模式: // R(read)读模式 // W(write)替换写模式,将文件内容清零,自动创建不存在的文件。 // A(app... 阅读全文

posted @ 2017-07-17 23:03 huodaihao 阅读(681) 评论(0) 推荐(0) 编辑

导航