php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19580 Warning: incfile() [function.incfile]: 0 bytes of buffered data lost
Submitted: 2002-09-24 12:15 UTC Modified: 2002-09-26 11:27 UTC
From: neil dot doody at talk21 dot com Assigned: wez (profile)
Status: Closed Package: *General Issues
PHP Version: 4CVS-2002-09-24 OS: FREEBSD 4.7-RELEASE 2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: neil dot doody at talk21 dot com
New email:
PHP Version: OS:

 

 [2002-09-24 12:15 UTC] neil dot doody at talk21 dot 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;
}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-25 09:51 UTC] sniper@php.net
Assigning to Wez as this is some streams issue.


 [2002-09-26 11:27 UTC] wez@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC