ファイル操作まわり
マニュアルがいちばんわかりやすかったりする。
fopen : 開く
http://php.benscom.com/manual/ja/function.fopen.php
fgets : 1行読み込む
http://php.benscom.com/manual/ja/function.fgets.php
fseek : ファイルポインタの移動
http://php.benscom.com/manual/ja/function.fseek.php
fputs(fwrite) : ファイルへ書き込む
http://jp.php.net/manual/ja/function.fwrite.php
すげぇ便利だ!
file_get_contents : ファイルをそっくりそのまま読み込み
http://jp2.php.net/file_get_contents
file : ファイルを行を単位に配列に入れて読み込み
http://jp2.php.net/file
file_exists : ファイルやディレクトリが存在するか確認
http://php.benscom.com/manual/ja/function.file-exists.php
filesize : ファイルのサイズを調べる
http://php.benscom.com/manual/ja/function.filesize.php
http://www.phpbook.jp/func/file/index1.html
http://nyx.pu1.net/practice/file_ope/file_ope6.html#logic