Re: HTTP_*_VARS access

From: Date: Wed, 27 Jun 2001 21:52:10 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1025@lists.php.net to get a copy of this message
I can see this system variable leading to other uses too, like function return values. Sam Beckwith wrote: > > > If we foresee creating more of these special variables in the future, > > then it may be better to reserve a single variable called $php or > > $smarty and have the special variables be its properties: > > > > $php.request.get > > or > > $smarty.request.get > > Please, if you are going to create a system variable, then please use > $smarty and not $request or $php :) > > I would think that $request.x and $php.x could already be in use by others. > Using them would break their code. > > $smarty.request.x would be a more natural way to make system vars available. > > Just my 2 cents :) > > -Sam >

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