#18847 [NEW]: Output buffering problem
| From: | ntpt at centrum dot cz | Date: | Sat, 10 Aug 2002 21:54:09 +0000 |
| Subject: | #18847 [NEW]: Output buffering problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16455@lists.php.net to get a copy of this message | ||
From: ntpt@centrum.cz
Operating system: RH 7.3
PHP version: 4.1.2
PHP Bug Type: Output Control
Bug description: Output buffering problem
It seems that output buffering can not handle more , than aprox 1.5 Mb
output. If i done something like:
<?
ob_start();
...
...
--generate some BIG output content, ie bightml page
$data=ob_get_contents();
?>
$data can never got more then approx 1.5 mb of data. The rest of buffer is
cut off and lost.
It seems to be more general problem in output buffering, because I try to
make some workaround of this (like using ob_get_length(),and if the
length of the buffer exceeded some size then ob_get_content(),
ob_end_clean(), ob_start()inside the content creation loop, hoping, that i
put content of the buffer into the some variable, clean it and start again
ovewrcome this limit ), but it fails. The same behavior have 4.0.6 too
--
Edit bug report at http://bugs.php.net/?id=18847&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18847&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18847&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18847&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18847&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18847&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18847&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18847&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18847&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18847&r=globals