Re: XML and PHP

From: Date: Tue, 19 Feb 2002 17:57:23 +0000
Subject: Re: XML and PHP
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2747@lists.php.net to get a copy of this message
Put quotes around the file attribute, and get rid of the ./ {include_php file="menu_dis.php"} Then, be sure that menu_dis.php is located in your $trusted_dir directory. chiefmonkey wrote: > > It's just a really simple template > > <html> > <head> > <title>{$TITLE}</title> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1"> > </head> > <body bgcolor="#FFFFFF" text="#000000"> > {include_php file=./menu_dis.php} > </body> > </html> > > George > > At 10:20 19/02/2002 -0700, Tara Johnson wrote: > > >Do you have a copy of the smarty template you are using? > > > >-----Original Message----- > >From: chiefmonkey > > >>[<mailto:chiefmonkey@wisemonkeydesign.co.uk>mailto:chiefmonkey@wisemonkeydesign.co.uk] > > > >Sent: Tuesday, February 19, 2002 10:18 AM > >To: smarty@lists.ispi.net > >Subject: [smarty] Re: XML and PHP > > > > > > I am still struggling to get this to work, the PHP script parses an > >XML file and the resullts are displayed, this works fine on it's own, but > >as soon as I put it in Smarty it doesn't work. > > > > I have tried {php} {/php} > > > >and also include_php but nothing > > > >the two files can be found here > > > > >><http://www.experimentalmonkey.co.uk/test.zip>http://www.experimentalmonkey.co.uk/test.zip > > > > > >TIA > > > >George > > > >--- > >You are currently subscribed to smarty as: Tara.Johnson@DevelopOnline.com > >To unsubscribe send a blank email to $subst('Email.Unsub') > >Visit Smarty's homepage at > > >><http://www.phpinsider.com/php/code/Smarty/>http://www.phpinsider.com/php/code/Smarty/ > > > >--- > >You are currently subscribed to smarty as: chiefmonkey@wisemonkeydesign.co.uk > >To unsubscribe send a blank email to $subst('Email.Unsub') > >Visit Smarty's homepage at > >http://www.phpinsider.com/php/code/Smarty/ > > --- > 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 (#2747) next »