php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9226 Include URL; fopen Url
Submitted: 2001-02-12 08:57 UTC Modified: 2001-05-27 23:35 UTC
From: PSaile at hww-hamburg dot de Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: Linux SuSE 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: PSaile at hww-hamburg dot de
New email:
PHP Version: OS:

 

 [2001-02-12 08:57 UTC] PSaile at hww-hamburg dot de
This statement 
 $fp = fopen("http://www.php.net/", "r");
produce this Error
  Warning: fopen("http://www.php.net/","r") - Bad file
  descriptor 
  in /usr/local/httpd/htdocs/web_interface/test.php3 
  on line 22

I have search for this Error an find this.
Then I trie the inclusion and I get the same Error Message like below. Is there any solution for this error?
Thanks!

just upgraded to php-4.0.3pl1-3 via the 
rpm on a RedHat 7.0 server. 

Now it seems that my includes for URL's 
does not work anymore. I put the allow_url_fopen in the php.ini and still no luck.. 

Any one else run into this problem? 

PS. the URL is there..i checked ;) 

Here is the message ... 

Warning: Failed opening 'http://static.userland.com/myUserLandHtml/currentRenderings/service03474.html' for inclusion include_path='.:/usr/share/php') in /home/httpd/html/stuff.php on line 16 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 23:35 UTC] sniper@php.net
Should be fixed in PHP 4.0.6 (not released yet) so please
try that when it is released. If problem still exists with
it, reopen this bug report.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 19:01:28 2024 UTC