Location: PHPKode > projects > Network Asset Management Archive > nama/ip.php
<?php
$now = date("m/j/y h:i:s",time());
include "connect.php";

$now = date("j/m/y h:i:s",time());
$stmt = "Select * FROM arp_table where ipnum is null;";
echo "<BR>";
$sth = ibase_query($dbh, $stmt);
while ($row = ibase_fetch_object($sth)) {
		   $ip = ip2long($row->IP_ADDRESS);		
                   $stmt2 = "update arp_table set ipnum = '$ip' where serial = '$row->SERIAL'; ";
                   $sth2 = ibase_query ($dbh,$stmt2);
}
?>

Return current item: Network Asset Management Archive