Размер файла: 801B
<?
$dbh=mysql_connect ("localhost", "....","....")
or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("....");
mysql_query ("select * from bannedib WHERE ci='$ci' AND (ip = '".getenv(REMOTE_ADDR)."')and(browser = '".getenv(HTTP_USER_AGENT)."')");
if(mysql_affected_rows()!=0){
print"<wml><card id=\"err1\" title=\"Упс\" ontimer=\"index.php?ci=$ci\">
<timer value=\"200\"/><p align=\"center\">
<small><b>Вы забанены!</b></small><br/>
<small>(IP+Browser)</small>
<br/><small><a href=\"index.php?ci=$ci\">OK</a></small><br/>
<small><a href=\"ruwap.com.ru\">ruwap.com.ru</a></small>
</p></card></wml>";
exit();
}
mysql_close($dbh);
?>