Re: Documentation problem on QUICKSTART file
| From: | Monte Ohrt | Date: | Thu, 01 Nov 2001 21:47:48 +0000 |
| Subject: | Re: Documentation problem on QUICKSTART file | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1802@lists.php.net to get a copy of this message | ||
According to the new debugging console, it should be in
$smarty.server.PHP_SELF
Joao Prado Maia wrote:
>
> On Thu, 1 Nov 2001, Monte Ohrt wrote:
>
> > Joao, I just noticed what you were trying to tell me after reading it
> > again, sorry about that :-) Yes, I'll add that kind of example to the
> > QUICKSTART guide. Actually, I think we are in need of some better
> > examples for variable access in Smarty anyways. Either more in the
> > documentation, or a separate mini guide just for it.
> >
>
> Yes, that was my request :)
>
> Another thing I'm trying to find out by reading the docs, but I'm still in
> doubt - how would I access the value of $PHP_SELF in a template ?
>
> I'm trying to use {$smarty._something_here_.PHP_SELF}, but I'm uncertain
> as to where that pre-defined variable would be available, as it is not an
> environment variable nor get / post or even server variable.
>
> Cheers,
> Joao
>
> --
> João Prado Maia <jpm@phpbrasil.com>
> http://phpbrasil.com - php com um jeitinho brasileiro
> --
> Precisando de consultoria em desenvolvimento para a Internet ?
> Impleo.net - http://impleo.net/?lang=br
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/