tiles@home

Logfiles


Current time is %s

\n", date("Y-m-d H:i:s")); for($i = 1; $i <= 5; $i++){ showLogfile("Priority $i", "messages_p$i.txt"); } function showLogfile($Title, $Filename){ print "

$Title

\n"; print "
";
  print system("tail -n 30 Data/".$Filename);
  print "
\n"; } ?>