Location: PHPKode > projects > logViewSQL > apache/cross-reference.php
<tr><td bgcolor=lemonchiffon colspan=2><b>Other host(s) accessed by this IP</b></td></tr>
<?php
 while(list($key, $list)=each($validTables)){
                if(!($list==$dbs)){
			$query = "select distinct(virtual_host) from ".$list." where remote_host='".$remoteHost."'".customFilter(1);
			$results = mysql_query($query);
			while($item=mysql_fetch_object($results)){
				print "<tr><td colspan=2><a href=\"view-host.php?dbs=".$list."&remoteHost=".$remoteHost."\">".($item->virtual_host)."</a></td></tr>\n";
			}
                        //print "<tr><td>$list[0]</td></tr>";
		}
        }
	reset($validTables)
?>
Return current item: logViewSQL