#19580 [NEW]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost
| From: | neil dot doody at talk21 dot com | Date: | Tue, 24 Sep 2002 17:15:50 +0000 |
| Subject: | #19580 [NEW]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20214@lists.php.net to get a copy of this message | ||
From: neil.doody@talk21.com
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