From: [EMAIL PROTECTED]
Operating system: aix 4.3.3
PHP version: 4.0.4pl1
PHP Bug Type: HTTP related
Bug description: Function file does not work with remote files
script:
<?php
$jnk= file ("http://www.php.net");
?>
Error: bad file number
<?php
$jnk = file ("myfile");
echo "works fine";
?>
Options compilated with PHP:
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure
--with-mysql=/usr/local/mysql --with-gd --enable-track-vars
--with-apache=/usr/local/apache_1.3.12
Notes: I tried to use different compilers such as gcc, cc or xlC_r, I got the same
error about file function (bad file number). With the same option of
compilateion, the script works in LINUX.
--
Edit Bug report at: http://bugs.php.net/?id=10033&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]