You are here: Re: Fsockopen error « PHP « IT news, forums, messages
Re: Fsockopen error

Posted by Curt Zirzow on 11/02/05 02:00

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация