![]() |
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:
|
Quote:
|
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:
|
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). |
All times are GMT. The time now is 05:42 AM. |
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:
|