php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9567 Warning: file("http://www.php.net") - Bad file descriptor in /usr/........
Submitted: 2001-03-05 16:30 UTC Modified: 2002-10-10 16:22 UTC
From: christian dot goebel at sagra dot lu Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
 [2001-03-05 16:30 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-06 06:42 UTC] stas@php.net
Works for me. Are you sure it still happens for the latest CVS?
 [2001-04-10 10:48 UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.

--Jani

 [2001-04-10 11:02 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
 [2001-04-10 11:43 UTC] christian dot goebel at sagra dot lu
No that not the problem :(
 [2001-04-29 05:55 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
 [2002-10-07 06:23 UTC] duncan dot adams at vcontractor dot co dot za
I have the same problem and I'm using PHP Version 4.0.6.
 [2002-10-10 02:14 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


 [2002-10-10 02:15 UTC] mfischer@php.net
Closeing anyway, didn't recognize this is way old :-P
 [2002-10-10 16:22 UTC] christian dot goebel at sagra dot lu
with newer versions it works fine!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC