Re: [PHP] Output buffering - saving + echoing

2004-12-15 Thread Richard Lynch
Lorderon wrote: > What I want to do is "catch" the output buffer, but do not delay the > buffer > to be sent. How is it done? I see three options here: #1 Call ob_start/ob_get_contents/ob_flush and repeat that a *LOT* within your script, so that you are buffering only a few lines of text at any g

Re: [PHP] Output buffering - saving + echoing

2004-12-15 Thread Lorderon
Hi, "Brent Baisley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

Re: [PHP] Output buffering - saving + echoing

2004-12-15 Thread Lorderon
Hi, "Brent Baisley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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

Re: [PHP] Output buffering - saving + echoing

2004-12-15 Thread Brent Baisley
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