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

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 ready,

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 ready,

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 given

[PHP] Output buffering - saving + echoing

2004-12-14 Thread Lorderon
Hi, When using ob_start(), the output is buffered and not sent till ob_end_flush() is called or got to end of the script. Also before flushing you can get the buffer contents by ob_get_contents(). ? //start buffering, from now on no output. //NEED: start buffering, but output imediatly when