\n"; while ( $line = fgets($log) ) { list ($atime, $author, $message) = explode("\t", $line, 3); list ($author) = explode(' ', $author); # first name only printf('
  • %s %s • %s
  • '."\n", $message, $author, strftime('%F %H:%M', $atime) ); } print "\n\n"; pclose($log); }