<?
$filename="data.txt";
$myfile=fopen($filename,"r+");
while(!(feof))
$words=gets($myfile,225);
fputs($myfile,"$words,hello");
fclose($myfile);
?>
there si no wornings and no problems when I run it in my phped,but after that ,I open data.txt
I can't get the expected result;
of course the data.txt existed and it is writable and readable