Re: Output buffering - saving + echoing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

"Brent Baisley" <brent@xxxxxxxxxxxx> wrote in message
news:D5512475-4E9E-11D9-8576-000A95CD828E@xxxxxxxxxxxxxxx
> Not exactly sure what your question is. You want to catch the buffer,
> but don't delay the buffer to be sent???
> If your question is that you want to hold the contents of the buffer
> and send it only when you are ready, don't use ob_end_flush, use
> ob_end_clean. The buffer is cleared without sending anything to the
> client. The buffer contents are still retained in the variable $buf.
> When you are ready, you can just echo $buf.

Thanks, but this is now what i meant for.
I want the script to output data as regular like not using buffering. But I
want to catch output chunks in variables. How this can be done?

thanks,
    Lorderon.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux