#26016 [NEW]: Warning: fsockopen(): Bug
From: hill at bluecarrots dot com
Operating system: Linux
PHP version: 4.3.3
PHP Bug Type: *General Issues
Bug description: Warning: fsockopen(): Bug
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 bug report at http://bugs.php.net/?id=26016&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26016&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26016&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26016&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26016&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26016&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26016&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26016&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26016&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26016&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26016&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26016&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26016&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26016&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26016&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26016&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26016&r=float
Thread (14 messages)
- hill at bluecarrots dot com
- alan_k@php.net#26016 [Opn->Fbk]: Warning: fsockopen(): Bug
- sniper@php.net#26016 [Fbk->NoF]: Warning: fsockopen(): Bug
- andrew at shh dot fi#26016 [Com]: Warning: fsockopen(): Bug
- scott at marinar dot com#26016 [Com]: Warning: fsockopen(): Bug
- wez@php.net#26016 [NoF->WFx]: Warning: fsockopen(): Bug
- wez@php.net#26016 [WFx->NoF]: Warning: fsockopen(): Bug
- webmaster at zaedno dot de#26016 [Com]: Warning: fsockopen(): Bug
- pollita@php.net#26016 [NoF]: Warning: fsockopen(): Bug
- wmueller at email dot com#26016 [Com]: Warning: fsockopen(): Bug
- wez@php.net#26016 [NoF->WFx]: Warning: fsockopen(): Bug
- pollita@php.net#26016 [WFx]: Warning: fsockopen(): Bug
- wmueller at email dot com#26016 [Com]: Warning: fsockopen(): Bug
- pollita@php.net#26016 [WFx]: Warning: fsockopen(): Bug