flush ($fp); flock ($fp, LOCK_UN); fclose($fp); return TRUE; } ?>