{$_REQUEST['mode']}"; $msg[] = PHP_EOL; fputs($fp, implode(" ",$msg)); fclose($fp);