Re: Fsockopen error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 01 Nov 2005 14:06:04 -0500, Robert Prentice wrote:

> I am attempting to connect to a remote server using fsockopen to post data
> to a php file. Here is the error i get:
> 
> 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 /home/customerservice/docs/ admin_ahmed/test.php on line
> 37
> 
> Here is the code i am using:
> 
> 
> $reply = http_post("https://www.safetrustprocessing.com";, 80, "/
> xml_order_processing.php", array("myXml" => $xml)); function http_post
> ($server, $port, $url, $vars) {
>      $user_agent = "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)";
> ...
> 
> Any ideas on the problem?

i would guess http_post() is the problem, i have no clue what it really
does.


Curt.
-- 
http://news.zirzow.dyndns.org/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux