Re: how to call $_SERVER[...] in templates ?
| From: | pete M | Date: | Wed, 18 Feb 2004 14:16:38 +0000 |
| Subject: | Re: how to call $_SERVER[...] in templates ? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10977@lists.php.net to get a copy of this message | ||
<a href={$_SERVER['PHP_SELF']}> <--- this doesn't work
<a href="{$smarty.server.PHP_SELF}">click me </a>
Florian Winkler wrote:
Hi. Until now If I want to call a $_SERVER[]-variable I assign it in the php-file but I have already seen I way how to call the SERVER-variables in another way. does anybody know what I'm talking about ? for instance : <a href={$_SERVER['PHP_SELF']}> <--- this doesn't work greetz fLo _________________________________________________________________ MSN Hotmail - Absolut kostenfrei! Der weltweit größte E-Mail-Anbieter im Netz: http://www.msn.de/hotmail