How to obtain current URL data with Smarty?

Do you want to get the current URL data of and page using Smarty. Here is the way to do that.

Retrieve the primary URL or the host (Eg. localhost)

Retrive the rest of the URL or the URI (Eg. /site/index.php?id=4541&sn=4565)

So you can make the complete URL like this.

Like this post? Please share to your friends:
List Of What
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: