Re: How to use a Smarty variable outside the template file ?

From: Date: Tue, 24 Jul 2001 13:24:51 +0000
Subject: Re: How to use a Smarty variable outside the template file ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1278@lists.php.net to get a copy of this message
This has nothing to do with $show_info_header setting. The compiled PHP code isn't something you should have to worry about, and it shouldn't affect the output of your templates. It is good for debugging when you have something setup wrong ;-) By default, Smarty should pass xml headers through with no problems. Maciek Uhlig wrote: > > > -----Original Message----- > > From: Luc Saint-Elie [mailto:luc@saint-elie.com] > > > <?php /* Smarty version 1.4.4, created on 2001-07-24 07:46:46 > > compiled from ../xml_files/cachecache/cachecache.xml */ ?> > > <?php echo '<?xml version="1.0" > > encoding="ISO-8859-1"?>'; ?> > > > > <article> > > <category/> > > <version><![CDATA[.......and so on > > > > The 3 first lines apparently fool the XML parser.... > > isn't it possible to get rid of them setting $show_info_header to false? > > Maciek > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

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