#26016 [Opn->Fbk]: Warning: fsockopen(): Bug
| From: | alan_k@php.net | Date: | Tue, 28 Oct 2003 09:44:03 +0000 |
| Subject: | #26016 [Opn->Fbk]: Warning: fsockopen(): Bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-49559@lists.php.net to get a copy of this message | ||
ID: 26016
Updated by: alan_k@php.net
Reported By: hill at bluecarrots dot com
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 4.3.3
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
please provide a sample script to illustrate the problem
Previous Comments:
------------------------------------------------------------------------
[2003-10-28 04:40:30] hill at bluecarrots dot com
Description:
------------
I get the warning at the top of the page. Several refreshes of the
browser rectifies.
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in /home/.sites/.blah....php on line 14
Warning: fsockopen(): unable to connect to blah.com:80 in
/home/.sites/blah.....php on line 14
Resource temporarily unavailable (11)
Reproduce code:
---------------
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in /home/.sites/.blah....php on line 14
Warning: fsockopen(): unable to connect to blah.com:80 in
/home/.sites/blah.....php on line 14
Resource temporarily unavailable (11)
Expected result:
----------------
I expect the page to connect securely to a secure server and send some
secure details.
I get the warning at the top of the page. Several refreshes of the
browser rectifies. I have to use this PHP code, which has been provided
by the Payment provider, to get to a server that takes online payments,
some information is first sent securely in order to reach the payment
page on the Payment providers server.
Actual result:
--------------
The simle page takes time to load and when it does the fsockopen
warning is present.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26016&edit=1