Re: how to use one file for static sites...

From: Date: Thu, 12 Apr 2001 16:10:14 +0000
Subject: Re: how to use one file for static sites...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-535@lists.php.net to get a copy of this message
Oguz Altun wrote: > > ----- Original Message ----- > From: "Alain Fontaine" <alain@nvision.lu> > To: <smarty@lists.ispi.net> > Sent: Thursday, April 12, 2001 6:29 PM > Subject: [smarty] Re: how to use one file for static sites... > > > Hi, > > > > I agree that using data sent from the browser to build file paths -can- be > > dangerous, however, I think my example code pretty much eliminates -any- > > kind of tampering possible. Correct me if I'm wrong, because in that case > I > > need to fix my application too ! ;) > > first, thanks for the advice, second, I would prefer using a switch too, > since I can put code for connecting to db and get the necessary variables to > pass templates? > You will once 1.4.0 is released. It has arbitrary template source support. And to answer your question "when is it coming", probably within a week if all goes well. It's a holiday weekend for me :-)

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