The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED] how i get current full page url without stylid=2
hello ,
how i get current page url without stylid=2 if it exist in the link .../index.php?styleid=2 i try this code : Code:
$url = explode('?', $vbulletin->url, 2); // output $url[0] --------------- Added [DATE]1415898889[/DATE] at [TIME]1415898889[/TIME] --------------- Solution : Code:
$fullurl = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $url = explode('?', $fullurl , 2); // output $url[0] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|