Warning: mysql_connect() [function.mysql-connect]: Host 'IP ADRESİ' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' in /****************************paypal.php on line 2
Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /*******************paypal.php on line 3
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in /************************paypal.php on line 13
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /h*********************/paypal.php on line 13
Kulandığım kod:
$baglan = mysql_connect("sideadi.com","kulanici adi","şifre");
mysql_select_db("user_db", $baglan);
$tutar = $_POST["mc_gross"];
$kesinti = $_POST["mc_fee"];
$sonuc = $tutar - $kesinti;
$email = $_POST["payer_email"];
$itemid = $_POST["item_number"];
$query = mysql_query("insert into paypal set
item_id = '$itemid',
item_email = '$email',
item_tutar = '$sonuc'");
?>
nerde yanlışlık yapıyorum