|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
scdgro Smarty Regular
Joined: 24 May 2003 Posts: 39 Location: Netherlands
|
Posted: Sat May 24, 2003 1:45 pm Post subject: parsing/assinging PHP variables |
|
|
So i started with smarty, because i work on some sort of CRM system.
This forum (PHPBB) uses some template engine and after some search i ended up here.
But i have this problem :
There are some PHP variables (eg. $PHP_SELF, $SERVER_NAME).
Is it possible to use them in the template, without assigning a value with the $smarty->assign function
Here's a line :
both are the PHP variables.
or is the only way to embrace them within <php> </php>
Code: |
<td align="center"><a href="https://{$SERVER_NAME}{$PHP_SELF}" target="_top">
|
thanks ! |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
|
Back to top |
|
scdgro Smarty Regular
Joined: 24 May 2003 Posts: 39 Location: Netherlands
|
Posted: Sat May 24, 2003 9:20 pm Post subject: |
|
|
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|