Re: [SMARTY] newbie: $PHP_SELF in smarty
| From: | Jason Sweat | Date: | Wed, 18 Dec 2002 21:56:46 +0000 |
| Subject: | Re: [SMARTY] newbie: $PHP_SELF in smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6886@lists.php.net to get a copy of this message | ||
Max,
in your script:
$t = new smarty;
$t->assign('PHP_SELF', $_SERVER['PHP_SELF']);
$t->display('t.tpl');
in t.tpl:
this page is {$PHP_SELF}
HTH
Jason
"Max Clark" <max@clarksys.com> wrote in message
news:atqj4o$k8m$1@main.gmane.org...
> Hi-
>
> I am a newbie smarty user... is there smarty function similar to
$PHP_SELF?
>
> Thanks in advance,
> Max
>
>
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>