note 24256 added to function.ob-get-contents
| From: | ntpt at centrum dot cz | Date: | Sat, 10 Aug 2002 20:31:53 +0000 |
| Subject: | note 24256 added to function.ob-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34788@lists.php.net to get a copy of this message | ||
It seems, that lenght of the output buffer is limited to aprox 1.5 MB.
Example:
{
ob_start()
.
.
do somethin that produce a lot of output lines.....
.
.
$data = ob_get_contents()
}
this code return in $data max cca 1.5 MB......Rest of the buffer is cut off & lost. At least in
php 4.0.6 and php 4.1.2.......
--
http://www.php.net/manual/en/function.ob-get-contents.php
http://master.php.net/manage/user-notes.php?action=edit+24256
http://master.php.net/manage/user-notes.php?action=delete+24256
http://master.php.net/manage/user-notes.php?action=reject+24256