PHP 4.0 Bug #8815 Updated: allow_fopen_url = On & include("URL") don't work
| From: | sniper@php.net | Date: | Sun, 28 Jan 2001 02:08:43 +0000 |
| Subject: | PHP 4.0 Bug #8815 Updated: allow_fopen_url = On & include("URL") don't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45177@lists.php.net to get a copy of this message | ||
ID: 8815
Updated by: sniper
Reported By: mklinux@oceanbay.com
Old-Status: Open
Status: Feedback
Bug Type: *Configuration Issues
Assigned To:
Comments:
Does this simple example work for you:
<?php include("http://www.php.net"); ?>
If so, you are propably doing something wrong or have misunderstood
the use of include()
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-19 21:39:57] mklinux@oceanbay.com
After compiling PHP 4.0.4pl1 with
./configure"
--prefix=/usr
--with-config-file-path=/usr/lib"
--with-apache=../apache_1.3.14
--with-mysql=/usr/local/mysql
--with-pgsql=/usr/local/pgsql
--with-gd
--with-jpeg-dir
--with-t1lib
--with-ttf
--with-mhash
--with-openssl=/usr/local/ssl
--with-curl
--with-imap=../imap-2000a
--with-mm
--with-zlib
--with-bz2
--enable-gd-imgstrttf
--enable-track-vars
--enable-magic-quotes
--enable-trans-sid
--enable-sockets
--enable-ftp
--enable-bcmath
--enable-calendar
--with-gnu-ld
and then making and installing into Apache_1.3.14, and running it, when tring to
include("URL"); or include("localpath?test=test"); it will give the result of
"Error No Data Sent".
also
when in docs/test/ and tring to include a file like this. include("../test2/test/php"); it
will fail and cannot find the file.
in the configuration (php.ini) there is a allow_url_fopen = On. and in phpinfo it says
allow_url_fopen local value of '1' and a master value of '1'. This is a stock
php.ini (except the error_log was set to a file and the requirted changes for 'imp/horde'.
Other than that it is the stock config.
the system is Glibc 2.1.3, Linux Kernel 2.4.
any help with this is greatly appriciated.
thanks
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8815