PHP写入文件

 file_put_contents('log.txt',PHP_EOL.'zhangsan'.$time.'查看了数据', FILE_APPEND);

posted @ 2017-02-09 09:30  班尼  阅读(93)  评论(0编辑  收藏  举报