Ok well this should work. It's no doubt poor code and PB or Matt or Andy will be along to betterise it but it
works...
PHP code:
<?
$things = file('server.log');
$chats = "";
foreach ($things as $thing) {
if (strpos($thing, "[INFO] <")) {
$chats .= htmlspecialchars(substr($thing, 27)) . "<br />";
}
}
echo $chats;
?>
EDITED: 4 Aug 2011 19:06 by X3N0PH0N