Bug #2522 Updated: From some webserver readfile gets only a part of the page.
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 18:15:55 +0000 |
| Subject: | Bug #2522 Updated: From some webserver readfile gets only a part of the page. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10760@lists.php.net to get a copy of this message | ||
ID: 2522
Updated by: sander@php.net
Reported By: wessels@stockwatch.de
-Status: Open
+Status: Bogus
Bug Type: Misbehaving function
Operating System: Linux 2.2.10
PHP Version: 3.0.12
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[1999-10-14 10:08:32] wessels@stockwatch.de
I try to get a file with HTTP from a web server which is implemented in
Visual
Basic using a TCP-Control for doing web server purposes. This server
is
delivering HTML via HTTP to a php script, with php 3.0.5 running as an
apache
1.3.6 module under Linux 2.2.10. The php script is fetching the files
with
file().
But if I try to use php-3.0.12 or even php-4.0b2, ONLY THE FIRST ~1400
BYTES ARE
read.
I created a test script containing only the readfile(), build
php-3.0.5,
php-3.0.12 and php-4.0b2 with the same configuration switches and the
same
php3.ini/php.ini, and it happened exactly the same:
php-3.0.5 is getting the whole file,
php-3.0.12 and php-4.0b2 getting only ~1500 bytes.
The mentioned webserver is not public accessible, but I can run a copy
of it for some time for debugging purposes if desired.
my configure line:
./configure --enable-track-vars --without-gd --without-ttf
--with-config-file-path=.
php3.ini is the original -dist version.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=2522&edit=1