<?PHP
$hostname = "LocalServer";
                ^^^^^^^^^^^^^^

This should be "LocalHost" (unless you are trying to connect to a server
with a DNS alias of LocalServer).

Mark

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to