I cannot connect to my MySQL server using php script as it shows this error msg :
Warning: Host '207.44.130.92' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /home/httpd/vhosts/iplayallday.com/httpdocs/submitemail.php on line 24
what happen with my script ?? this error just happen yesterday and it happens at random.. sometime my script will work and sometimes it won't.
If I try using client tools (DBTools), it works just fine.. this is confusing.
Can somebody help me ?
here's my php script which is quite simple i guess :
<?php
$db = mysql_connect("iplayallday.com","yanuar","*****");//pasword is marked for security purpose
$dbase=mysql_select_db("iplayallday",$db);
$query1 = "INSERT INTO daftaremail (email) VALUES ('$email')";
$result1 = mysql_query($query1);
mysql_close($db);
?>
help me please as I'm stump here and I feel sorry for people in my site who couldn't save their scores