Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?

From: Date: Mon, 03 Feb 2003 21:16:57 +0000
Subject: Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7497@lists.php.net to get a copy of this message
monte@ispi.net (Monte Ohrt) writes: > They should have a new line after ?> PHP eats them. Ok, that's good. >> I tried also >> >> <?php >> ob_start(); >> $tmp = $smarty_fetch($page); >> header("Location: http://localhost"); >> ob_end_flush(); >> ?> >> >> and this leads to the same error. So it seems that I did further tests and removed all whitespaces outside smarty tags from the template. I still get the error, but there is no sign before the error message (starts with '<br />'). All outputfilters are disabled. >> Version info: It's PHP 4.2.3 with the newest CVS smarty. Addition: It's a CGI version.

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