RE: [SMARTY] Output buffering?

From: Date: Tue, 04 Mar 2003 13:33:07 +0000
Subject: RE: [SMARTY] Output buffering?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8380@lists.php.net to get a copy of this message
I have always been wondering, and this is maybe the exact moment to ask: why and in what cases would you do output buffering? Peter -----Original Message----- From: Hinrich Donner [mailto:hd@tiro.de] Sent: dinsdag 4 maart 2003 14:17 To: smarty-general@lists.php.net Subject: Re: [SMARTY] Output buffering? Hi, include 'Smarty.class.php'; ob_start('ob_gzhandler'); $smarty =& new Smarty(); $smarty->Display('my.tpl'); $output = ob_get_contents(); ob_end_clean(); echo $output; On Tuesday 04 March 2003 14:01, James Burrows wrote: > Hi there, > > Is it possible to perform output buffering using smarty? I'd like to gzip > my output before sending it to the browser. > > Thanks, > James -- Hinrich Donner -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#8380) next »