Re: IT[X] change output device?
| From: | Stig S. Bakken | Date: | Tue, 12 Mar 2002 15:54:25 +0000 |
| Subject: | Re: IT[X] change output device? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-952@lists.php.net to get a copy of this message | ||
On Mon, 2002-03-11 at 17:53, marcbey wrote:
> is it possible to load an template such a template.txt,
> parse it, but dont send to to the browsers output, because the template is
> text for an email?
>
> who can i do this with IT template ?
Just do ob_start(), let your template output what it should, catch the
output with ob_get_contents() and finish with ob_end_clean().
- Stig