print?ini_set('memory_limit', '-1'); //
ini_set("最大実行時間", "3600"); //超時間設定
$filep='qq.txt';
$str=file('qq.txt');
$lineCount = 0;
foreach( $str AS $line ) {
$line = str_replace( "t", " ", $line );
$tr = トリム( $line );
if ( preg_match( "/\*|^*|^ {1,}*|/*|*/|^ {1,}//|^///", $line ) || $tr === " " ) {
続く;
}
$lineCount++;
$line = str_replace( "r", "", $line );
$line = str_replace( "n", "", $line );
if($lineCount
is_m('5.txt',"".$line."@qq.comn");
続く;
}elseif ($lineCount
is_m('10.txt',"".$line."@qq.comn");
壊す;
}
}
関数 is_m($filename,$c){
$handle = fopen($filename, "a");
if ($handle) {
fwrite($handle, $c );
fclose($handle);
} }