Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Variables in template

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
andreas
Smarty Pro


Joined: 22 Apr 2003
Posts: 106

PostPosted: Sun Apr 27, 2003 9:42 pm    Post subject: Variables in template Reply with quote

Hi!

I'm sorry for asking that, but I cannot find anything about it in the manual. I have a <form> in my template, and it should be send(action=) to its own path, $_SERVER['PHP_SELF']. Is there a better way to get that value instead of assigning $_SERVER['PHP_SELF'] from PHP?

Thank you!

Andreas

________
Digital vaporizer


Last edited by andreas on Fri Mar 11, 2011 9:49 am; edited 2 times in total
Back to top
View user's profile Send private message
Wom.bat
Smarty Pro


Joined: 24 Apr 2003
Posts: 107
Location: Munich, Germany

PostPosted: Sun Apr 27, 2003 10:10 pm    Post subject: Reply with quote

it IS in the manual
$smarty.server.PHP_SELF
http://smarty.php.net/manual/en/language.variables.smarty.php
Back to top
View user's profile Send private message
andreas
Smarty Pro


Joined: 22 Apr 2003
Posts: 106

PostPosted: Sun Apr 27, 2003 10:35 pm    Post subject: Reply with quote

Thank you and sorry!
________
mexico hotels
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP