メニューの編集
PHP
$fp = fopen('filelist.txt','w'); fwrite( $fp, '記述する文言' ); fopenでファイル名と記述の仕方を書きます。 記述の仕方は'a'は追記、'w'は上書き。