From 675b78ae04153c04afb35a26c09fd7f848f95b47 Mon Sep 17 00:00:00 2001 From: EA4GKQ Date: Fri, 24 Jun 2016 19:43:06 +0200 Subject: [PATCH] log output as table --- scripts/log.php | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/log.php b/scripts/log.php index df7bd2e..a825693 100644 --- a/scripts/log.php +++ b/scripts/log.php @@ -15,8 +15,8 @@ $fileName = MMDVMLOGPATH. "/MMDVM-".date(Y)."-".date(m)."-".date(d).".log"; - - + + @@ -48,7 +48,10 @@ $fileName = MMDVMLOGPATH. "/MMDVM-".date(Y)."-".date(m)."-".date(d).".log";
Fichero log
-
+
+ + Log file + eof()) { // Echo one line from the file. - echo $file->fgets(); - echo "
"; + echo""; + echo ""; + echo"\n"; } // Unset the file to call __destruct(), closing the file handle. $file = null; ?> +
"; + echo $file->fgets(); + echo "
+ +