PHP 4.0 Bug #10033 Updated: Function file does not work with remote files
| From: | sniper@php.net | Date: | Thu, 29 Mar 2001 16:29:39 +0000 |
| Subject: | PHP 4.0 Bug #10033 Updated: Function file does not work with remote files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50260@lists.php.net to get a copy of this message | ||
ID: 10033
Updated by: sniper
Reported By: raymondc@quik.com
Old-Status: Open
Status: Feedback
Bug Type: HTTP related
Assigned To:
Comments:
Could you please try the latest CVS snapshot from http://snaps.php.net/ ?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-27 18:00:39] raymondc@quik.com
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10033&edit=2