php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26017 Warning: fsockopen(): Bug
Submitted: 2003-10-28 04:40 UTC Modified: 2003-10-28 04:42 UTC
From: hill at bluecarrots dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hill at bluecarrots dot com
New email:
PHP Version: OS:

 

 [2003-10-28 04:40 UTC] 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 simple page takes time to load and when it does the fsockopen warning is present.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-28 04:42 UTC] alan_k@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 03:01:33 2024 UTC