The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
GET variables in an external page
Hi,
I have a page in which i've included global.php to use the user functions and such from vbulletin. In that page, i want to access a GET variable, but it seems i can't. $_GET['page'] seems to return only a 0 I've seen around this forum ppl using $page = $vbulletin->input->clean_gpc('g', 'page', TYPE_STR); This also gives me a 0 as a result. Any solutions? And is there anywhere some technical documentation somewhere that would give me these answers? Or should we just figure it all out by looking at vBulletin's code? Thanks, Tom |
#2
|
|||
|
|||
If the above returns 0, then the value of $_GET['page'] is '0'.
(TYPE_STR will cast it to a string, so '0' is not a default for an empty/non-exisitng variable) |
#3
|
|||
|
|||
you can use vbexternal
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|