This is a discussion on HTML output buffering within the PHP General forums, part of the PHP Programming Forums category; Good afternoon! Is there a simple way to have PHP buffer all HTML output via echo/print until the program ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--- Robin Kopetzky <sparkyk@blackmesa-isp.net> 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 |
|
|||
|
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 > |
|
|||
|
From: "Robin Kopetzky" <sparkyk@blackmesa-isp.net>
> 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... |