$vbulletin->input->clean_array_gpc('p', array( 'id' => TYPE_STR, // i have tried TYPE_UNIT ));
if ($vbulletin->GPC['id'] AND is_numeric()) { $vbulletin->GPC['id'] = $vbulletin->GPC['id']; } else { $vbulletin->GPC['id'] = 6; echo 'not picked up'; }
when i type in: file.php?&id=6 for the adress it doesn't pick up the variable id - 6 - which it should it just sets it as 2 and echo's "not picked up"... Can anybody see what i am doing wrong?