Bug #9862 Updated: fopen of http://user:pass@domain:port/file.html failed with Bad file descriptor
| From: | sniper@php.net | Date: | Thu, 19 Apr 2001 13:38:02 +0000 |
| Subject: | Bug #9862 Updated: fopen of http://user:pass@domain:port/file.html failed with Bad file descriptor | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51969@lists.php.net to get a copy of this message | ||
ID: 9862
Updated by: sniper
Reported By: stenzel@hnm.de
Old-Status: Feedback
Status: Closed
Bug Type: Filesystem function related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
No feedback. If problem still perists with soon to be released 4.0.5, reopen this bug report.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-20 08:17:16] sniper@php.net
Works for me with latest CVS. Please try the latest CVS snapshot from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[2001-03-20 05:46:03] stenzel@hnm.de
$file = "http://user:pass@www.domain.de:2222/file.html";
$fh = fopen($file, "r");
while(! feof($fh)) {
...
}
this script fails with the following error:
Warning:
fopen("http://...@www.domain.de:2222/file.html","r")
- Bad file descriptor in ... on line 2
this script runs with php 4.0.3pl1 and $file = "http://user:pass@www.domain.de/file.html"
works too on php 4.0.4pl1, but I need the port in combination with a user and password!!
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9862&edit=2