PHP 4.0 Bug #9226: Include URL; fopen Url
| From: | PSaile at hww-hamburg dot de | Date: | Mon, 12 Feb 2001 13:57:17 +0000 |
| Subject: | PHP 4.0 Bug #9226: Include URL; fopen Url | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46421@lists.php.net to get a copy of this message | ||
From: PSaile@hww-hamburg.de
Operating system: Linux SuSE 7.0
PHP version: 4.0.4pl1
PHP Bug Type: Apache related
Bug description: Include URL; fopen Url
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
--
Edit Bug report at: http://bugs.php.net/?id=9226&edit=1