#19580 [Opn->Asn]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost

From: Date: Wed, 25 Sep 2002 14:51:43 +0000
Subject: #19580 [Opn->Asn]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20332@lists.php.net to get a copy of this message
ID: 19580 Updated by: sniper@php.net Reported By: neil.doody@talk21.com -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] neil.doody@talk21.com 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

« previous php.bugs (#20332) next »