[Smarty/PHP] Accessing PHP superglobals

Soldato
Joined
12 Apr 2004
Posts
11,788
Location
Somewhere
Does Smarty provide a way of accessing data that you'd usually use PHP's $_SERVER superglobal to access? For example, I want to have a page's URL printed in a template, which I would normally do by printing $_SERVER['SERVER_NAME'] from PHP.

Any help appreciated :)
 
Damn... been looking through the Smarty manual for about 15 minutes trying to work out how to do this. Only after making a thread do I find what I'm looking for :o

Feel free to delete!
 
Back
Top Bottom