PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #9567 Warning: file("http://www.php.net") - Bad file descriptor in /usr/........
Submitted:5 Mar 2001 4:30pm UTC Modified: 10 Oct 2002 4:22pm UTC
From:christian dot goebel at sagra dot lu Assigned to:
Status:Closed Category:*Directory/Filesystem functions
Version:4.0.4pl1 OS:linux
View/Vote Developer Edit Submission

[5 Mar 2001 4:30pm UTC] christian dot goebel at sagra dot lu
<?php
$fcontents = file ('http://www.php.net');
?>

Warning: file("http://www.php.net") - Bad file descriptor in
/usr/home/tpost/public_html/.../php/test.php on line 3

Can you help me? I can find only bug reports but no solution on the
problem...

thank you
[6 Mar 2001 6:42am UTC] stas@php.net
Works for me. Are you sure it still happens for the latest CVS?
[10 Apr 2001 10:48am UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5,
reopen this bug report.

--Jani
[10 Apr 2001 11:02am UTC] hholzgra@php.net
maybe it's the missing slash after the hostname?

http://www.php.net is not a legal URL
while http://www.php.net/ is
[10 Apr 2001 11:43am UTC] christian dot goebel at sagra dot lu
No that not the problem :(
[29 Apr 2001 5:55am UTC] jmoore@php.net
Please test with 4.0.5 (to be released very soon) there was a fix.
Please reopen if it still occurs with 4.0.5

- James
[7 Oct 2002 6:23am UTC] duncan dot adams at vcontractor dot co dot za
I have the same problem and I'm using PHP Version 4.0.6.
[10 Oct 2002 2:14am UTC] mfischer@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

[10 Oct 2002 2:15am UTC] mfischer@php.net
Closeing anyway, didn't recognize this is way old :-P
[10 Oct 2002 4:22pm UTC] christian dot goebel at sagra dot lu
with newer versions it works fine!

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC