본문 바로가기

Web Progreming/PHP

[ PHP ] fopen, fwrite, fclose


<?

$write=chr(10)."글쓰기 연습";

$fp = fopen('test.txt', 'a');

fwrite($fp, $write);

fclose($fp);

?>