アットウィキロゴ

phpx05

<?php
 
$memo="";
 
$fp = fopen("data.txt", "r");
while ($line = fgets($fp)) {
$memo=$memo.$line;
}
fclose($fp);
 
$memo=$memo."k";
 
$fp2 = fopen("data.txt", "w");
fwrite($fp2,$memo);
fclose($fp2);
 
print("write");
 
?>
最終更新:2015年10月10日 15:00