I'm trying to open a socket to post data to an external site. Specifically, it will be posting securely to a payment processing site. To test the function I wrote, I'm having it post without ssl to the same domain that the script is on.
I'm getting the following error:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /pathtofile/authorizenet.inc on line 34
Warning: fsockopen(): unable to connect to :80 in /pathtofile/authorizenet.inc on line 34
Any ideas?
- keith