[PHP] HTML output buffering

2003-10-16 Thread Robin Kopetzky
Good afternoon!

Is there a simple way to have PHP buffer all HTML output via echo/print
until the program flushes the output buffer??

Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020

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



Re: [PHP] HTML output buffering

2003-10-16 Thread Chris Shiflett
--- Robin Kopetzky [EMAIL PROTECTED] wrote:
 Is there a simple way to have PHP buffer all HTML output via
 echo/print until the program flushes the output buffer??

Yes, output buffering:

http://www.php.net/ob_start

Hope that helps.

Chris

=
My Blog
 http://shiflett.org/
HTTP Developer's Handbook
 http://httphandbook.org/
RAMP Training Courses
 http://www.nyphp.org/ramp

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



Re: [PHP] HTML output buffering

2003-10-16 Thread Mohamed Lrhazi
On Thu, 2003-10-16 at 15:50, Robin Kopetzky wrote:
 Good afternoon!
 
 Is there a simple way to have PHP buffer all HTML output via echo/print
 until the program flushes the output buffer??
 

http://us2.php.net/manual/en/ref.outcontrol.php

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



Re: [PHP] HTML output buffering

2003-10-16 Thread CPT John W. Holmes
From: Robin Kopetzky [EMAIL PROTECTED]

 Is there a simple way to have PHP buffer all HTML output via echo/print
 until the program flushes the output buffer??

You can buffer the output yourself using the output buffering functions. Is
that what you're looking for?

More info: http://us2.php.net/manual/en/ref.outcontrol.php

---John Holmes...

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



Re: [PHP] HTML output buffering

2003-10-16 Thread Marek Kilimajer
Yes! And surprisingly it is called output buffering. Search the manual 
before you post.

Robin Kopetzky wrote:
Good afternoon!

Is there a simple way to have PHP buffer all HTML output via echo/print
until the program flushes the output buffer??
Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] HTML output buffering

2003-10-16 Thread Robin Kopetzky
Thank you for responding - Doh! I didn't look before leaping Oh, boy...

Sparky

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