<?
//phpinfo();
$now = date("m/j/y h:i:s",time());
include "../connect.php";
$DNS_NAME= $_POST['DNS_NAME'];
$REMOTE_ADDR = $_SERVER["REMOTE_ADDR"];
if ($DNS_NAME!="") {
$stmt = "FROM arp_table a, subnets b where (a.subnet = b.subnet) and (dns_name containing '" . $DNS_NAME . "')";
} else {
Header("Location: /iaso/searchname.php");
print "Must enter a partial DNS NAME!";
}
$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="#F9F3E0" text="#000000">
</body></noframes>
</html>