From:             [EMAIL PROTECTED]
Operating system: FREEBSD 4.7-RELEASE 2
PHP version:      4CVS-2002-09-24
PHP Bug Type:     Unknown/Other Function
Bug description:  Warning: incfile() [function.incfile]: 0 bytes of buffered data lost

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 bug report at http://bugs.php.net/?id=19580&edit=1
-- 
Try a CVS snapshot:  http://bugs.php.net/fix.php?id=19580&r=trysnapshot
Fixed in CVS:        http://bugs.php.net/fix.php?id=19580&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=19580&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=19580&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=19580&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19580&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=19580&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=19580&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=19580&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=19580&r=globals

Reply via email to