Hi, 

Im having a hard time surpressing fsckopen() errors. I've looked at the
manual and searched around, but what i am doing /appears/ to be correct,
yet im still geting warnings...

here's the code:

// open a socket to the server
if($handle = @fsockopen($bits['host'], 80, $errno, $errstr, 10) or die("die")) {
  return true;
}

and here are the warnings:

warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in
/var/www/localhost/vhosts/payment.communicontent.com/modules/partners/inc/includes/validateBlog.inc
on line 53.

warning: fsockopen(): unable to connect to www.ivana.dk:80 in
/var/www/localhost/vhosts/payment.communicontent.com/modules/partners/inc/includes/validateBlog.inc
on line 53.


I've even tried looking though php.ini for any clues and i dont see
anything useful. Does anyone have an idea of what im missing here?

Many thanks!
-- 
Nick Wilson
Tel:        +45 3311 2250

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

Reply via email to