<?php
$file = fopen("test.txt","w");
fwrite($file,"Hello World. Testing!\n 56");
$txt=file('test.txt');  //就用file 函数  但是他就读取了第一行
echo $txt[0];    //这里我用C语言的 $txtp[0,1] 他就报错了。没通用 是不是得循环while啊?
fclose($file);
?>