Re: HTTP_*_VARS access
| From: | Sam Beckwith | Date: | Wed, 27 Jun 2001 21:47:22 +0000 |
| Subject: | Re: HTTP_*_VARS access | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1024@lists.php.net to get a copy of this message | ||
> 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