Просмотр файла chatservice/b.php

Размер файла: 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=\"&#1059;&#1087;&#1089;\" ontimer=\"index.php?ci=$ci\">
<timer value=\"200\"/><p align=\"center\">
<small><b>&#1042;&#1099; &#1079;&#1072;&#1073;&#1072;&#1085;&#1077;&#1085;&#1099;!</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);

?>