#22579 [Opn->Fbk]: fopen() number in URL = Bad file descriptor
| From: | sniper@php.net | Date: | Fri, 07 Mar 2003 04:22:26 +0000 |
| Subject: | #22579 [Opn->Fbk]: fopen() number in URL = Bad file descriptor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35011@lists.php.net to get a copy of this message | ||
ID: 22579
Updated by: sniper@php.net
Reported By: ottawasixtyseven at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: ALL
PHP Version: 4.3.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-03-06 20:50:16] ottawasixtyseven at hotmail dot com
This bug has been reported a few times but keeps getting closed. It is
still a problem in PHP 4.3.0
Also see closed bug http://bugs.php.net/bug.php?id=9862
There is a serious problem with fopen when there are numbers in the
URL: http://www.xxxxxxx.com:8080/some.php?Origin=a&DocNum=1
Result:
Warning: fopen() [function.fopen]: php_hostconnect: connect failed in
C:\phpfiles\some.php on line 150
Warning: fopen(http://www.xxxxxxx.com:8080/some.php?Origin=a&DocNum=1)
[function.fopen]: failed to create stream: Bad file descriptor in
C:\phpfiles\some.php on line 150
Remove the port number in the URL and it works fine:
http://www.xxxxxxx.com/some.php?Origin=a&DocNum=1
This seems to be a random bug that occurs on some machines and not
others. We can reproduce it 100% of the time if someone wants to check
on our server.
Please don't just test this on one machine and report back that it
works for you. There is something wrong here and we really need to get
to the bottom of it. It's not a redirection problem.
Thanks. Keep up the great work!
Ottawa
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22579&edit=1