ID: 19580
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
-Bug Type: Unknown/Other Function
+Bug Type: *General Issues
Operating System: FREEBSD 4.7-RELEASE 2
PHP Version: 4CVS-2002-09-24
-Assigned To:
+Assigned To: wez
New Comment:
Assigning to Wez as this is some streams issue.
Previous Comments:
------------------------------------------------------------------------
[2002-09-24 12:15:50] [EMAIL PROTECTED]
Running on Apache 2.0.42-Alpha2 with the latest CVS of PHP im getting
the following error that is produced with the code shown below, I have
never had this problem before nad the code has not changed for almost a
year now :-
Warning: incfile() [function.incfile]: 0 bytes of buffered data lost
during conversion to FILE*! in /usr/home/mpfreesc/public_html/index.php
on line 41
Code :-
function incfile($pt_infile) {
global $argv;
global $REMOTE_ADDR;
ob_start();
include($pt_infile);
$pt_ret_str = ob_get_contents();
ob_end_clean();
return $pt_ret_str;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19580&edit=1