#32970 [Opn->Bgs]: readfile does not output more than ~ 2MB of data

From: Date: Fri, 06 May 2005 18:39:29 +0000
Subject: #32970 [Opn->Bgs]: readfile does not output more than ~ 2MB of data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78724@lists.php.net to get a copy of this message
 ID:               32970
 Updated by:       tony2001@php.net
 Reported By:      flobee at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: suse/debian/winXP
 PHP Version:      5.0.4
 New Comment:

Fixed in CVS several weeks ago.


Previous Comments:
------------------------------------------------------------------------

[2005-05-06 19:00:10] flobee at gmail dot com

Description:
------------
when file lager than ~ 2MB i only get ~2MB send to the header

eg:
if($result_size = @readfile( $file_to_download) ) { ; 
     $msg = _DOWNLOAD_SUCCESSFUL;
} else {
     $msg = _ERROR_COULDNOTCOMPLETETHEFILE;
}

this is since php5 beta and have no idea why, no error no other
messages.
execution time and memorylimit are set very high for testing. no
changes.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32970&edit=1


Thread (3 messages)

« previous php.bugs (#78724) next »