php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10110 Problem with fopen() - Bad file descriptor
Submitted: 2001-04-02 07:26 UTC Modified: 2001-04-02 18:28 UTC
From: senser at email dot si Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: senser at email dot si
New email:
PHP Version: OS:

 

 [2001-04-02 07:26 UTC] senser at email dot si
I have used and tested a script on linux machine with an apache webserver and php4 installed, i got error of a bad file desctiptor in the fopen statement:

The code i used is: 

$page="http://www.feri.uni-mb.si/"; 
$fp=fopen($page,"r") or die("Error"); 

when the url was http://www.senser.f2s.com/welcome.html" 
(my website)
everthing worked fine!

Ales!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-02 18:28 UTC] sniper@php.net
This should be fixed in CVS. Try latest CVS snapshot from
http://snaps.php.net/

Reopen this bug report if problem still exists with latest CVS snapshot.

(I tried your script and it worked just fine)

--Jani

 [2003-03-05 09:33 UTC] ottawasixtyseven at hotmail dot com
Note: This bug still exists in ALL versions of PHP right up to 4.3.1 and the snapshots.

Ottawa
 [2003-03-13 16:35 UTC] ottawasixtyseven at hotmail dot com
Fixed in latest snapshot. Thank you.

Ottawa
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC