The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Pulling a GPC variable
I am working on a product, building from previously existing products, this is a page within the admincp.
I am wondering why sometimes I am able to pull a GPC variable and other times I am not, I am having this issue in multiple spots but this is just the smallest one to give the example. I am able to pull the productid with: PHP Code:
PHP Code:
PHP Code:
This is how I currently solve this problem: PHP Code:
|
#2
|
||||
|
||||
Quote:
|
Благодарность от: | ||
Dr.CustUmz |
#3
|
||||
|
||||
var_dump($_REQUEST);
PHP Code:
PHP Code:
This is the portion in my page where the productid and catid are added, I have stripped a majority of this page but kept what should be relevant. PHP Code:
|
#4
|
||||
|
||||
Quote:
It'll only get registered in $vbulletin->GPC if it's first registered in $_REQUEST before your call to $vbulletin->input->clean_array_gpc(); In regards to it referencing plugins you don't have activated, I assume they are being passed in via $_COOKIE (which clean_gpc/clean_array_gpc will also run on). |
Благодарность от: | ||
Dr.CustUmz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|