#10110 [Com]: Problem with fopen() - Bad file descriptor
| From: | ottawasixtyseven at hotmail dot com | Date: | Thu, 13 Mar 2003 22:35:42 +0000 |
| Subject: | #10110 [Com]: Problem with fopen() - Bad file descriptor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35551@lists.php.net to get a copy of this message | ||
ID: 10110
Comment by: ottawasixtyseven at hotmail dot com
Reported By: senser at email dot si
Status: Closed
Bug Type: *Directory/Filesystem functions
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:
Fixed in latest snapshot. Thank you.
Ottawa
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 09:33:07] 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
------------------------------------------------------------------------
[2001-04-02 18:28:09] 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
------------------------------------------------------------------------
[2001-04-02 07:26:48] 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!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10110&edit=1