fullArp.php 246 B

1234567891011
  1. #!/usr/local/bin/php
  2. <?php
  3. include('mysql.php');
  4. $ipq = 'SELECT `ip`,`mac` FROM `nethosts`';
  5. $data = DB_query($ipq);
  6. while ($line2 = DB_fetch_array($data)) {
  7. print($line2['ip'].' '.$line2['mac']."\n");
  8. }
  9. ?>