<?php

function _log($user, $action) {
  global $LOG_FILE;
  $fp = fopen($LOG_FILE, "a");
  fprintf($fp, "%s - %s - %s\n", date("r"), $user, $action);
  fclose($fp);
}

?>