From:             [EMAIL PROTECTED]
Operating system: redhat 7.0/apache 1.3.19
PHP version:      4.0.4pl1
PHP Bug Type:     Filesystem function related
Bug description:  fopen of http://user:pass@domain:port/file.html failed with Bad file 
descriptor

$file = "http://user:[EMAIL PROTECTED]:2222/file.html";
$fh = fopen($file, "r");
while(! feof($fh)) {
...
}

this script fails with the following error:
Warning:
fopen("http:[EMAIL PROTECTED]:2222/file.html","r")
- Bad file descriptor in ... on line 2

this script runs with php 4.0.3pl1 and $file = 
"http://user:[EMAIL PROTECTED]/file.html" works too on php 4.0.4pl1, but I need the 
port in combination with a user and password!!


-- 
Edit Bug report at: http://bugs.php.net/?id=9862&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to