Index: php/example_wall.php =================================================================== --- php/example_wall.php (revision 60) +++ php/example_wall.php (working copy) @@ -1,14 +1,27 @@ $dt $msg
\n"); + // generate unique-ish color for IP + $color = colorify_ip($remote); + fwrite($f, "$dt $msg
\n"); fclose($f); } @@ -17,7 +30,7 @@ $lines = array(); while (!feof($f)) $lines[] = fgets($f, 8192); - // return the last 15 lines + // return the last 25 lines return join("\n", array_slice($lines, -25)); } @@ -30,14 +43,21 @@ Wall +