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

$IP_ADDRESS = $_POST['IP_ADDRESS'];

$REMOTE_ADDR = $_SERVER["REMOTE_ADDR"];
if ($IP_ADDRESS!="") {
     $stmt = "FROM arp_table a, subnets b where (a.subnet = b.subnet) and (ip_address containing '" . $IP_ADDRESS . "')";
} else {
 Header("Location: https://iat-db.wes.army.mil/iaso/searchip.php");
 print "Must enter a ip address!";
}
$stmt = urlencode($stmt);
?>
<html>

<title>IASO Review Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" cols="262,*" frameborder="NO" border="0" framespacing="0"> 
  <frame name="leftFrame" noresize src="getpicks.php?stmt=<? print $stmt ?>" marginwidth="0" marginheight="0">
  <frame name="rightFrame" noresize src="right.php" marginwidth="0" marginheight="0">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">

</body></noframes>
</html>

Return current item: Network Asset Management Archive