RE: [SMARTY] Smarty Bug? (Correction)

From: Date: Thu, 31 Oct 2002 13:05:01 +0000
Subject: RE: [SMARTY] Smarty Bug? (Correction)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6293@lists.php.net to get a copy of this message
> -----Original Message----- > From: M Mohr [mailto:messju@lammfellpuschen.de] > > hello, > > On Thu, Oct 31, 2002 at 12:29:33PM +0100, Manuel Polo wrote: > > Hi! > > > > <?xml version="1.0" encoding="{$pag_encoding}"?> > > > > This fails... at least on my configuration and latest Smarty (v2.3) > > short_open_tag=off in your php.ini may help. I'm using Smarty 2.3.0 on PHP 4.2.2 with the short_open_tag setting on, and haven't experienced this problem when using XML templates. It's possible that the MIME type is not being interpreted correctly. Issuing a header("Content-type: text/xml"); line before outputting your text may be of benefit. Scott

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