- Code: Select all
$fp = fsockopen ('www.eliteweaver.co.uk/testing/ipntest.php', 80, $errno, $errstr, 30);
it is returning this error
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home2/etmadmin/public_html/zenorsoft/ipn-processing.php on line 20
Warning: fsockopen() [function.fsockopen]: unable to connect to www.eliteweaver.co.uk/testing/ipntest.php:80 (Unknown error) in /home2/etmadmin/public_html/zenorsoft/ipn-processing.php on line 20
I have verified that the website address works, but I'm still getting that error.
if I try
- Code: Select all
$fp = fsockopen ('http://www.eliteweaver.co.uk/testing/ipntest.php', 80, $errno, $errstr, 30);
that returns this error
Warning: fsockopen() [function.fsockopen]: unable to connect to http://www.eliteweaver.co.uk/testing/ipntest.php:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in /home2/etmadmin/public_html/zenorsoft/ipn-processing.php on line 20
the code looks correct from everything I can lookup, so is this a server problem? Is there something I need to do to work around this? Any ideas?


