Re: [SMARTY] Real Queer Problem

From: Date: Wed, 16 Jul 2003 20:29:46 +0000
Subject: Re: [SMARTY] Real Queer Problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9908@lists.php.net to get a copy of this message
On Wednesday, July 16, 2003 10:19 PM +0200, Thomas Deliduka wrote: > On 7/16/03 4:09 PM this was written: > >> 1) you are on the very wrong mailing list > > Sorry I won't post here again. I'm not smart enough is that it? this list ist for the Smarty template engine... http://smarty.php.net/ :> >> 2) you should use globals or even better, superglobals > > I should, yes, but I don't. I'm sorry if that makes me a bad > programmer. no, but it increases the probability of both bugs like this one and security leaks, read http://www.php.net/manual/en/security.registerglobals.php too >> 3) maybe you are using $return somewhere in your code? #2 will help >> you with that... just $_SESSION["return"] etc... > > I have gone over the documentation for the $_SESSION method and I > find it a little confusing. I choose not to do sessions like that. > The amount of code I would have to change in order to do this would > be enormous and I have not the time or inclination to do it. no.. it is not confusing... you just don't use session_register etc anymore, all you need to do is session_start and then use the $_SESSION array David

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