#!/usr/local/bin/php trim($todo[0]), "timestamp" => trim($todo[2]), "hostname" => trim($todo[3]) ? trim($todo[3]) : "Unknown" ); } $pgtitle = "arpwatch: Reports"; include("head.inc"); ?>

$rawentries) { $printip = true; $entries = $rawentries; sort($entries); foreach($entries as $entry) { echo ''; if($printip) { echo ''; $stampclass = "listr"; $printip = false; } else { $stampclass = "listlr"; echo ''; } echo ''; echo ''; echo ''; echo ''; } } ?>
arp.dat entries
IP Timestamp MAC Hostname
' . $ip . '' . date("D M j G:i:s", $entry['timestamp']) . '' . $entry['mac'] . '' . $entry['hostname'] . '