We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
wierd mysql error; ??????????
Topic Started: Dec 22 2005, 12:29 AM (133 Views)
Chris444
Member
[ *  * ]
when i tried to connect to mysql using the script below this is the error that came up. what do i do:

error:
Warning: mysql_connect(): Host 'host.globalfreeweb.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts' in /home/tspv4/public_html/info2.php on line 2
Host 'host.globalfreeweb.com' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'

script:
Code:
 
<?php
$connection = mysql_connect("localhost", "name", "password")
or die(mysql_error());
if ($connection) {
$msg = "success!";
}
?>
<html>
<head>
<title>php</title>
</head>
<body>
<?php
echo "$msg";
?>
</body>
</html>
Offline Profile Quote Post Goto Top
 
Epsilekt
Member Avatar
Member
[ *  *  *  *  *  * ]
I guess it's a pre-programmed block. Just do what it says to remove the block.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply