PHP 4.0 Bug #10110 Updated: Problem with fopen() - Bad file descriptor

From: Date: Mon, 02 Apr 2001 22:28:10 +0000
Subject: PHP 4.0 Bug #10110 Updated: Problem with fopen() - Bad file descriptor
Groups: php.dev 
Request: Send a blank email to php-dev+get-50639@lists.php.net to get a copy of this message
ID: 10110 Updated by: sniper Reported By: senser@email.si Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Assigned To: Comments: 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 Previous Comments: --------------------------------------------------------------------------- [2001-04-02 07:26:48] senser@email.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! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10110&edit=2

« previous php.dev (#50639) next »