![]() |
URL Variable in templates?
Is there any way to access the URL of the current page from a template (either by from the web root OR the full http://...)?
Thanks, Antun |
This will work if you have PHP 4.1.0 or above:
Code:
http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI] Code:
http://$HTTP_SERVER_VARS[HTTP_HOST]$HTTP_SERVER_VARS[REQUEST_URI] |
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|