View Single Post
  #2  
Old 29 Oct 2020, 21:49
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Originally Posted by Dr.CustUmz View Post
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But I cant get the catid to pull:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is the complete page in question, Just a simple confirmation page.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

A way I get around this is to use a query, but since I can pull the productid, I just dont understand why I cant pull the catid, when they were both submitted through the same form.

This is how I currently solve this problem:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Out of curiosity, if you var_dump($vbulletin->GPC); what does it return? And is it definitely present on var_dump($_REQUEST);?
__________________
Professional web developer & sysadmin. Former bad man.
Reply With Quote