[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    [PHP-DEV] Bug #327: fpassthru adds document length
From:       jw () comcity ! de
Date:       1998-04-29 10:13:35
[Download RAW message or body]

From:             jw@comcity.de
Operating system: Linux Kernel 2.033
PHP version:      3.0 Latest CVS
PHP Bug Type:     Parser error
Bug description:
While using the fpassthru function
of php3, eg.

<?php
$fp = fopen( "test.html", "r" );
   echo (fpassthru($fp));
?>

the result will always display a number and the end of the output.
The length differs with the length of the document, so maybe it's the document length being displayed.

No php3.ini file.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic