The Arcive of vBulletin Modifications Site. |
|
URL Variable in templates? Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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] |
![]() |
|
|