<?php $keyword = "text"; $file=fopen("./back.txt","a+"); fwrite($file,$keyword); fclose($file);?>
简单文件的写操作
原文:http://www.cnblogs.com/wendong/p/3870628.html