PDA

View Full Version : Problem


tehste
02-15-2006, 06:55 PM
$vbulletin->input->clean_array_gpc('r', array(
'do'=> TYPE_STR,
'id'=> TYPE_STR,
'op'=> TYPE_STR)
);
$do=$vbulletin->GPC['do'];
$id=$vbulletin->GPC['id'];
$op=$vbulletin->GPC['op'];

Why is that returning $do, $id, $op as NULL on php 5 servers?

Marco van Herwaarden
02-15-2006, 07:28 PM
Is the value passed of type STR?
Is the data submitted via REQUEST?

tehste
02-15-2006, 07:54 PM
Is the value passed of type STR?
Is the data submitted via REQUEST?

yes, it's only not working on php 5.

it's the bashy effect basicly bashy has p3tz lite and the gpc isn't returning anything. and it's a standard vBulletin function and I'm using it correctly so why isn't it working?

https://vborg.vbsupport.ru/showthread.php?t=107973&page=1&pp=15

?do=market

it returns nothing.

if i replace it with $do=$_REQUEST['do'] it works...