PHP 4.0 Bug #7894 Updated: fopen won't open an URL
| From: | venaas@php.net | Date: | Sun, 07 Jan 2001 19:29:06 +0000 |
| Subject: | PHP 4.0 Bug #7894 Updated: fopen won't open an URL | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43270@lists.php.net to get a copy of this message | ||
ID: 7894
Updated by: venaas
Reported By: joaquin@mondongo.com.ar
Old-Status: Closed
Status: Feedback
Bug Type: Filesystem function related
Assigned To: venaas
Comments:
The reason might be that fopen() doesn't handle redirects. I hope
to add redirect support again though. To check if this is the reason,
check the contents of $http_response_header right after the
fopen() call and see if it contains a redirect.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-20 13:47:00] joaquin@mondongo.com.ar
<?
fopen("http://www.yahoo.com/","r");
?>
This simple "fopen" works on one machine that has 4.0.1pl3, but in this machine with
4.0.3pl1 I get this error:
Bad file descriptor
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7894