When I run
$sendURL = "www.example.com";
$fp = fsockopen ($sendURL, "80", $errno, $errstr, 30);
I get
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/trunk/www/modules/webshop/run/payment/paypal/ipn_listener.php on line 51
And when I set $sendURL to "www.sandbox.paypal.com", I get the same warning.
I've been looking into this all morning. What should I do?