|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7894 fopen won't open an URL
Submitted: 2000-11-20 13:47 UTC Modified: 2001-04-10 09:35 UTC
From: joaquin at mondongo dot com dot ar Assigned: venaas (profile)
Status: Closed Package: Filesystem function related
PHP Version: 4.0.3pl1 OS: Linux 2.2.14-12.10RS
Private report: No CVE-ID: None
 [2000-11-20 13:47 UTC] joaquin at mondongo dot com dot ar

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 14:29 UTC]
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.
 [2001-03-08 20:30 UTC]
Please try the latest CVS snapshot from


 [2001-04-10 09:35 UTC]
No feedback. If this happens with soon to be released PHP 4.0.5 too, reopen this bug report.


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 15:01:30 2024 UTC