Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > HTML output buffering
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 3rd July 08:28
sparkyk
External User
 
Posts: 1
Default HTML output buffering



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
  Reply With Quote


 


2 3rd July 08:28
shiflett
External User
 
Posts: 1
Default HTML output buffering



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
  Reply With Quote
3 3rd July 08:28
holmes072000
External User
 
Posts: 1
Default HTML output buffering


From: "Robin Kopetzky" <sparkyk@blackmesa-isp.net>


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...
  Reply With Quote


 


4 3rd July 08:28
kilimajer
External User
 
Posts: 1
Default HTML output buffering


Yes! And surprisingly it is called output buffering. Search the manual
before you post.
  Reply With Quote
5 3rd July 08:28
sparkyk
External User
 
Posts: 1
Default HTML output buffering


Thank you for responding - Doh! I didn't look before leaping "Oh, boy..."

Sparky
  Reply With Quote
Reply


Thread Tools
Display Modes




666