= first AND $nip <= last") or sqlerr(__FILE__, __LINE__); if (mysql_num_rows($res) == 0) stderr("Result", "The IP address ". htmlspecialchars($ip) ." is not banned.",false); else { $banstable = "\n" . "\n"; while ($arr = mysql_fetch_assoc($res)) { $first = long2ip($arr["first"]); $last = long2ip($arr["last"]); $comment = htmlspecialchars($arr["comment"]); $banstable .= "\n"; } $banstable .= "
FirstLastComment
$first$last$comment
\n"; stderr("Result", "
The IP address ". htmlspecialchars($ip) ." is banned:

". htmlspecialchars($banstable) ."

"); } } stdhead(); ?>

Test IP address

IP address