foreach list each 3種類の遍歴解析ファイル操作
foreach , ,
list each ,
:$file = 'C:
ew.txt';
$handle = fopen($file,'w');
$str = "xieru";
fwrite($handle,$str);
ファイルの き み: $file = 'C:
ew.txt';
$handle = fopen($file,'r');
$text = fread($handle,filesize($file));
echo $text.'<br>';
fclose($handle)を じることを れないでください.
その の :
file_put_contents(); file_get_contents(); file_exists();