Hi..
I have found a strange problem. I try to use php output buffering, but I found this 
problem.
Working with small amount of data everything is fine. But If I set example script like 
this:

<?

function callback($buffer)
 {
 return do_something_with($buffer);
 }


ob_start("callback")
.
.

do_something_that_produce_big_output() // more than 1.5 MB
.
.
.
ob_end_flush();

?>

Everything works fine when $buffer < approx 1.5 Mb, but if the size of the output, 
that need to be bufered exceeded some strange limit aprox 1593400 bytes, buffer is cut 
to that length and rest of the output is lost(!). I look in docs and manuals,  but 
found nothing about it. Is it posssible to set large size for the output buffering 
operations or this strange limit is hard coded and cant be exceeded ???  I try to play 
with PHP.INI or add swapspace and DIMs memory with no effect.....  Please help.  


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.381 / Virová báze: 214 - datum vydání: 2.8.2002

Reply via email to