Bug #1493: multiple fopen()'s fail when opening URLs
| From: | eric at ipass dot net | Date: | Fri, 04 Jun 1999 17:07:00 +0000 |
| Subject: | Bug #1493: multiple fopen()'s fail when opening URLs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6547@lists.php.net to get a copy of this message | ||
From: eric@ipass.net
Operating system: Solaris 2.6
PHP version: 3.0.8
PHP Bug Type: Other
Bug description: multiple fopen()'s fail when opening URLs
The following code does not work:
$f = fopen("http://somewhere.blah.com/",
"r");
fclose($f);
$f2 = fopen("http://somewhere.blah.com/",
"r");
fclose($f2);
However, the following does work:
$f = fopen("http://somewhere.blah.com/",
"r");
$f2 = fopen("http://somewhere.blah.com/",
"r");
We have applied the fopen_wrappers.c patch.