Code:
<? $blacklisted = mysql_fetch_array(mysql_query("SELECT ip FROM banned WHERE ip ")); $ip= $_SERVER["REMOTE_ADDR"]; if($blacklisted[0] == "$ip") { echo "<font face=\"Verdana\" size=\"2\" color=\"#FFFAFA\">"; echo 'Your Ip Has being banned from this services'; echo "</font>"; echo "</div>"; echo "</body>"; echo "</html>"; exit(); } ?>
You can enter a new line thou php or a script
Code:
-- -- Table structure for table `banned` -- CREATE TABLE `banned` ( `ip` varchar(200) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Comment